spdx / spdx-java-tagvalue-store

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

External document reference without a space between the hash and hashvalue fails #11

Closed goneall closed 3 years ago

goneall commented 3 years ago

External document references include a SHA1:[value]. Currently, the tag/value parser expects a space after the colon and before the value.

Per the spec, this space is not required.

Note that the regex pattern that needs to change is here: https://github.com/spdx/spdx-java-tagvalue-store/blob/3f735fe243f771ab07c47ee22e276a4888e91fae/src/main/java/org/spdx/tag/BuildDocument.java#L177

goneall commented 3 years ago

This is related to the issue https://github.com/swinslow/cmake-spdx/issues/8

goneall commented 3 years ago

Resolved with PR #15