spdx / spdx-java-tagvalue-store

SPDX Document Storage using the Tag/Value format
Apache License 2.0
2 stars 1 forks source link

Multiple LicenseID #42

Closed vargenau closed 1 year ago

vargenau commented 1 year ago

The following SPDX file is valid according to the Java tools phpwiki.spdx.txt

However, it contains many duplicate LicenseID:

grep LicenseID phpwiki.spdx.txt|uniq -c
      1 LicenseID: LicenseRef-scancode-bsd-unmodified
      1 LicenseID: LicenseRef-scancode-commercial-license
      1 LicenseID: LicenseRef-scancode-free-unknown
      1 LicenseID: LicenseRef-scancode-mysql-linking-exception-2018
      5 LicenseID: LicenseRef-scancode-other-permissive
     20 LicenseID: LicenseRef-scancode-php-2.0.2
     15 LicenseID: LicenseRef-scancode-proprietary-license
      3 LicenseID: LicenseRef-scancode-public-domain
     23 LicenseID: LicenseRef-scancode-unknown-license-reference
      3 LicenseID: LicenseRef-scancode-unknown-spdx
      1 LicenseID: LicenseRef-scancode-warranty-disclaimer

Shouldn't this be flagged as invalid SPDX?

goneall commented 1 year ago

I did some checking and it looks like this is only an issue with the tag/value format.

Moving the issue to the tag/value repo.

vargenau commented 1 year ago

Thank you @goneall for the quick fix!