spdx / tools

SPDX Tools
Apache License 2.0
126 stars 69 forks source link

Confusing error message when duplicate license ID's are in an SPDX document #190

Closed goneall closed 4 years ago

goneall commented 5 years ago

When running the validator, if there are multiple license-Ref definitions with the same ID, you get the error Error converting tag/value to RDF/XML format: Expecting a definition of a file, package, license information, or document property at LicenseId: LicenseRef-XXX ...

The error should indicate multiple license ref's were found.

goneall commented 4 years ago

I'm no longer able to reproduce this issue - @nishakm, do you still have the original SPDX file that caused this bad error message?

nishakm commented 4 years ago

I'm no longer able to reproduce this issue - @nishakm, do you still have the original SPDX file that caused this bad error message?

@rnjudge might be able to reproduce the SPDX file

goneall commented 4 years ago

Closing this issue since I am not able to reproduce the problem.

@nishakm @rnjudge if you have a file that reproduces the error, go ahead and attach and I'll re-open