-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
External elements fails SHACL validation #956
Comments
Related to this: spdx/LicenseListPublisher#183 ? |
Dataset Example 1 has a workaround by define the element itself, to pass the validation -- but this is of course should not be a preferred way. |
I wonder if there is a way to specify a property must be of class |
Note that the spdx3-validate utility handles the external imports correctly. We could adopt the spdx3-validate utility as the "official" SPDX validator and not require the SHACL file to handle this situation. |
Does there a way to tell But, yes, for general audience, I think the |
If we only reference the SPDX listed license by URI, we get the following validation error:
The same error occurs for relationship "to" in the declared license.
In SPDX 2.X we were able to just reference listed licenses by URI - they didn't have to be in the document.
This is causing the example pull request 105 to fail.
Below is the example file which reproduces the error:
example2-src.json
The text was updated successfully, but these errors were encountered: