Closed goneall closed 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.
SHA1:[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
This is related to the issue https://github.com/swinslow/cmake-spdx/issues/8
Resolved with PR #15
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