We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The writer for json/yaml/xml writes documents like the following, wrapping all content in a redundant Document property at top level:
Document
{ "Document": { "spdxVersion": "SPDX-2.1", "documentNamespace": "https://spdx.org/spdxdocs/spdx-example-444504E0-4F89-41D3-9A0C-0305E82C3301", <...>
Apart from being redundant, this is incompatible with e.g. the java spdx library, and it is also incompatible with the json spec.
Note: I feel I have seen this issue before, but I couldn't find it now.
The text was updated successfully, but these errors were encountered:
relates to #184
Sorry, something went wrong.
Comment: In the case of xml, there needs to be a root element, see https://www.w3schools.com/xml/xml_syntax.asp. But for json and yaml, this is not required.
fixed with #254
No branches or pull requests
The writer for json/yaml/xml writes documents like the following, wrapping all content in a redundant
Document
property at top level:Apart from being redundant, this is incompatible with e.g. the java spdx library, and it is also incompatible with the json spec.
Note: I feel I have seen this issue before, but I couldn't find it now.
The text was updated successfully, but these errors were encountered: