spdx / tools-java

SPDX Command Line Tools using the Spdx-Java-Library
Apache License 2.0
59 stars 34 forks source link

Can not add relationshps to an ExternalSpdxElement #162

Open vargenau opened 1 month ago

vargenau commented 1 month ago

example6-bin.spdx.txt This file is from spdx-examples/software/example6/spdx2.2

Tools Python says the file is valid SPDX.

Tools Java 1.1.8 says it is invalid:

Analysis exception processing SPDX file: Can not add relationshps to an ExternalSpdxElement. 
These changes must be done to the local SPDX element in the document which defines the SPDX element.

Who is right?

goneall commented 1 month ago

Preventing writes to the external element is intentional. A couple of thoughts: