diff options
author | Steve Winslow <steve@swinslow.net> | 2020-11-08 13:41:00 -0500 |
---|---|---|
committer | Steve Winslow <steve@swinslow.net> | 2020-11-08 13:41:00 -0500 |
commit | ae78e67710eece172cc8990ced41688777cf4e1e (patch) | |
tree | 8540cdf04093210194aac47d15d19f87d5c18db4 /spdx | |
parent | 5a270f97f4106cf989761f9143e23132c1bffb3c (diff) | |
download | spdx-tools-ae78e67710eece172cc8990ced41688777cf4e1e.tar.gz |
Fix tvloader storing incorrect doc ID
Signed-off-by: Steve Winslow <steve@swinslow.net>
Diffstat (limited to 'spdx')
-rw-r--r-- | spdx/creation_info.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spdx/creation_info.go b/spdx/creation_info.go index d256a42..ec5f91b 100644 --- a/spdx/creation_info.go +++ b/spdx/creation_info.go @@ -14,7 +14,8 @@ type CreationInfo2_1 struct { // Cardinality: mandatory, one DataLicense string - // 2.3: SPDX Identifier; should be "SPDXRef-DOCUMENT" + // 2.3: SPDX Identifier; should be "DOCUMENT" to represent + // mandatory identifier of SPDXRef-DOCUMENT // Cardinality: mandatory, one SPDXIdentifier ElementID @@ -66,7 +67,8 @@ type CreationInfo2_2 struct { // Cardinality: mandatory, one DataLicense string - // 2.3: SPDX Identifier; should be "SPDXRef-DOCUMENT" + // 2.3: SPDX Identifier; should be "DOCUMENT" to represent + // mandatory identifier of SPDXRef-DOCUMENT // Cardinality: mandatory, one SPDXIdentifier ElementID |