https://bugs.linuxfoundation.org/show_bug.cgi?id=1370
Bug ID: 1370
Summary: PREREQUISITE_FOR/HAS_PREREQUISITE inconsistently
defined
Product: SPDX
Version: 2.0
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Documentation
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
The 2.0 documentation has a Relationship defined for
PREREQUISITE_FOR/HAS_PREREQUISITE
(https://spdx.org/SPDX-specifications/spdx-version-2.0), page 55.
When defined in a tag file and attempt to run TagToRDF, the following is
produced:
Error creating SPDX Analysis: org.spdx.tag.InvalidSpdxTagFileException: Invalid
relationship type
In the source,
http://git.spdx.org/?p=spdx-tools.git;a=blob;f=src/org/spdx/rdfparser/model/Relationship.java,
these are defined as PREQUISITE vs PREREQUISITE.
The command will run if adapted:
sed -i 's/PREREQUISITE/PREQUISITE/g' example.spdx
My guess is that the code is incorrect vs the documentation. I am interested in
participating in the community, so can certainly apply the fix if verified.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Spdx-tech mailing list
[email protected]
https://lists.spdx.org/mailman/listinfo/spdx-tech