tools-python icon indicating copy to clipboard operation
tools-python copied to clipboard

No license definition should be flagged as invalid

Open vargenau opened this issue 5 months ago • 0 comments

nolicense.spdx.txt

We have:

PackageLicenseConcluded: LicenseRef-scancode-ws-policy-specification

But the definition of LicenseRef-scancode-ws-policy-specification is not provided.

This should be flagged as invalid SPDX.

Python tools say it is valid.

Java tools say:

This SPDX Document is not valid due to:
	Relationship at line 21 invalid: License not found for LicenseRef-scancode-ws-policy-specification in foo
	Package at line 13 invalid: License not found for LicenseRef-scancode-ws-policy-specification in foo
	Relationship error: License not found for LicenseRef-scancode-ws-policy-specification in foo in foo

vargenau avatar Jul 11 '25 14:07 vargenau