Open vargenau opened 10 months ago
After looking at the spec, this may actually be valid.
I didn't see anything in the spec that states the relationships must be in a specific position within the document.
Files that are contained within the package, on the other hand, must immediately follow the package they belong to.
That being said, from a readability point of view, it would be better to have the files analyzed flag before the relationships.
I'll create a PR to fix.
Transferring to the tag/value store which generates the tag/value files.
Note that section 5.2.2 of the SPDX 2.3 spec states:
Annotations and relationships for the package may appear after the package information before any file information.
It doesn't use the word "shall", but this could be interpreted as a required ordering.
In either case, this is fixed with PR #59
bug.spdx.json.txt
bug.spdx.txt
We have a valid SPDX JSON file
bug.spdx.json
.With
tools-java
we convert it to tag:value givingbug.spdx
.bug.spdx
is invalid accoding totools-python
:tools-java release 1.1.8