Skip to content
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

ValidateDocument() should allow NOASSERTION and NONE #236

Open
wallrat opened this issue Apr 11, 2024 · 0 comments
Open

ValidateDocument() should allow NOASSERTION and NONE #236

wallrat opened this issue Apr 11, 2024 · 0 comments

Comments

@wallrat
Copy link

wallrat commented Apr 11, 2024

According to the Spec 11.1.1

In cases where there are "known unknowns", the use of the keyword NOASSERTION can be used on the right hand side of a relationship to indicate that the author is not asserting whether there are other SPDX elements (package/file/snippet) that are connected by relationships or not. That is, there could be some, but the author is not asserting one way or another.

Similarly, the use of the keyword NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it.

Currently the the ValidateDocument func returns an error when RHS is one of the above.


Note: as described #231 ValidateDocument also fails when right hand side is an external reference. Both of these cases we see in the wild.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant