-
Notifications
You must be signed in to change notification settings - Fork 70
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
Incorrect RDF for NOASSERTION related SPDX element #234
Comments
@goneall Can you please point to the files that need to be changed or looked into? |
@Gautime This one is bit complex. The starting point would be the SpdxNoAssertionElement class and the SpdxNoneElement class. |
The same issue occurs for the SpdxNoneElement. Related SPDX elements which have a value of none is currently generated as:
It should be represented as:
|
@goneall How can I reproduce the output? It seems we dont have No assertion related elements in example rdf file. |
You can run the utility tag to RDF on the 2.2.1 tag/value example file Note that the 2.2.1 rdf example is correct. The RDF generated by the tool will be incorrect. |
@goneall Just to clarify, printRelationship is the function being used to print all the relationships (including noassertions), and we need to change the output for relationships with id noassertion, correct? |
@Gautime The problem is just a bit deeper in the design. The SpdxNoAssertionElement class and the SpdxNoneElement would need to be changed (most likely). |
Related SPDX elements which have a value of no-assertion is currently generated as:
It should be represented as:
The text was updated successfully, but these errors were encountered: