diff options
author | Steve Winslow <steve@swinslow.net> | 2020-11-11 12:38:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-11 12:38:07 -0500 |
commit | 4ca6cd1fc37977db1969fcfdfa33dabbb2588010 (patch) | |
tree | 5d0d110da61267d40901c7172c8fb8e7f41bbf7d /spdx | |
parent | 4e07f1763686c4fc992cff2a18ff9ebd32ccd47f (diff) | |
parent | ae78e67710eece172cc8990ced41688777cf4e1e (diff) | |
download | spdx-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.go | 6 |
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 |