-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSP Leveraged Authorizations @name Attribute #535
Comments
This is also true of the @name attribute in the service assembly of the SSP model. The @name attribute of the protocol assembly is also set to CName, but that may be intentional and might be OK. The service and leveraged authorization assemblies need name fields that can have spaces and other characters not allowed in NCName. Either these need to be changed to string or a title field should be added to each assembly. For now, I'm handling these with extensions:
and
... and notes that the extensions may change depending on the solution here. |
In an email interaction with @wendellpiez on this topic, he said:
I responded as follows:
(moving the conversation here) |
There are several elements in the SSP model where the @name flag (attribute) should probably be a
This change is backward-incompatible, but it solves the data typing problem noted above. These are also declared in the SSP Metaschema with flag@name='name' i.e. local overrides of the global flag declaration. As such they are also related to schema/docs bugs see #554, which will go away (for these flags) when this is repaired. Data instances must also be repaired and an XSLT could be provided to upgrade data, if wanted. |
This is addressed in PR #619 where we moved name to title. |
Describe the bug
Currently the SSP model requires the @name attribute on the leveraged-authorization field, and limits its contents to the NCName datatype.
After initial discussion and research it sounds as if the data type should be string, as it was intended to capture the system name.
Who is the bug affecting?
Anyone trying to model a leveraged authorization for a system.
What is affected by this bug?
Most system names have spaces, which are not allowed in an NCName.
Since this attribute can not accept a system name, there is no place to capture the name of the leveraged system. (Work-around has been to define a annotation with an @ns to capture the system name.)
When does this occur?
When trying to represent a leveraged authorization using the SSP model
How do we replicate the issue?
Try replacing "NCName" with a system name that has spaces.
Expected behavior (i.e. solution)
The @name attribute should accept a system name with spaces, and still validate correctly using the SSP model schema file.
Possibly, schema validation should also allow the @name attribute to be absent.
The text was updated successfully, but these errors were encountered: