aboutsummaryrefslogtreecommitdiff
path: root/spdx
diff options
context:
space:
mode:
authorSteve Winslow <steve@swinslow.net>2020-11-11 12:38:07 -0500
committerGitHub <noreply@github.com>2020-11-11 12:38:07 -0500
commit4ca6cd1fc37977db1969fcfdfa33dabbb2588010 (patch)
tree5d0d110da61267d40901c7172c8fb8e7f41bbf7d /spdx
parent4e07f1763686c4fc992cff2a18ff9ebd32ccd47f (diff)
parentae78e67710eece172cc8990ced41688777cf4e1e (diff)
downloadspdx-tools-4ca6cd1fc37977db1969fcfdfa33dabbb2588010.tar.gz
Merge pull request #43 from swinslow/issue-38
Fix tvloader storing incorrect doc ID
Diffstat (limited to 'spdx')
-rw-r--r--spdx/creation_info.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/spdx/creation_info.go b/spdx/creation_info.go
index a2b82b0..1bdaaab 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
@@ -85,7 +86,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