-
Notifications
You must be signed in to change notification settings - Fork 45
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
Change cardinality of Relationship "to" property from 1..* to 0..* #129
Labels
Milestone
Comments
As I have mentioned during a recent SPDX Tech Team meeting, I think this is a bizarre and pooly-defined aspect of SPDX, and thus should not be included in the forthcoming SPDX 3.0 specification. I'm aware that some stakeholders (seemingly with affiliations related exclusively to computer security efforts in the USA) have expressed a desire for a 'known unknown' facility in Software Bill of Materials, but I have yet to see a concrete example of such a capability being used in reality.
My preference would therefore be No. 3, as it at least allows Relationship Elements with empty 'To' fields to be ignored in processing without undue difficulty.
|
kestewart
added a commit
that referenced
this issue
May 5, 2023
Update cardinality of "to" to have mincoun: 0 t as determined in #129
Merged
iamwillbar
pushed a commit
that referenced
this issue
May 5, 2023
Update cardinality of "to" to have mincoun: 0 t as determined in #129
Resolved in #293 |
meretp
pushed a commit
to meretp/spdx-3-model
that referenced
this issue
May 9, 2023
Update cardinality of "to" to have mincoun: 0 t as determined in spdx#129
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a Relationship has a completeness of
noAssertion
, there would not be an element for theto
property.This could be solved in one of three ways:
NoAssertion
that would be referenced in theto
property. This is similar to today's solution.to
from1..*
to0..*
and leave thecompleteness
property as is (including anoAssertion
value).to
from1..*
to0..*
and remove thenoAssertion
value from thecompleteness
property since having ato
with no elements would implynoAssertion
.My preference would be 2 above is it is the cleanest to implement. The only downside I can think of is having a
noAssertion
value and having one or moreto
elements doesn't seem to make sense.Having a
NoAssertion
element in solution 1 above is quite challenging to implement in some computer languages and in RDF, as we learned in the SPDX 2.X implementations.The text was updated successfully, but these errors were encountered: