-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
make ref
/bom-ref
own data type in schema
#114
Comments
part of CycloneDX#114 Signed-off-by: Jan Kowalleck <[email protected]>
part of CycloneDX#114 Signed-off-by: Jan Kowalleck <[email protected]>
part of CycloneDX#114 Signed-off-by: Jan Kowalleck <[email protected]>
part of CycloneDX#114 Signed-off-by: Jan Kowalleck <[email protected]>
part of CycloneDX#114 Signed-off-by: Jan Kowalleck <[email protected]>
part of CycloneDX#114 Signed-off-by: Jan Kowalleck <[email protected]>
part of CycloneDX#114 Signed-off-by: Jan Kowalleck <[email protected]>
part of CycloneDX#114 Signed-off-by: Jan Kowalleck <[email protected]>
Is this still an issue? Changes to prior schemas will not be made, but if this issue is still present in v1.5-dev branch, we have time to correct it (assuming doing so is backward compatable). |
@stevespringett re: #114 (comment) ✔️ The feature was already introduced in v1.4 via #116. Additionally, #115 would back-port the features into older specs without breaking changes. Take it or leave it, you decide. PS: The |
will close it. |
motivation:
in current(spec<=1.3, 1.4-dev) schema files the definition of
ref
andbom-ref
are defined as an arbitrary string.Basically both are simple strings, but a
ref
should be a value that was used as abom-ref
in another place, so both strings are from the same "string-class" and unlike other arbitrary strings.The fact that both strings are interlinked is made clear in comments, but not in the DataType itself.
To make the relation between these values more clear, i would love to introduce an schema-based string type that extends "string" and is used for
bom-ref
-based object-interlinks.scope
schema 1.1 XML
schema 1.2 XML & JSON
schema 1.3 XML & JSON
schema 1.4-dev XML & JSON
acc / crit:
implementation details
The text was updated successfully, but these errors were encountered: