spdx / tools-golang

Collection of Go packages to work with SPDX files
Other
116 stars 54 forks source link

Error while parsing no colon found in 'Relationship' #225

Open aharal opened 9 months ago

aharal commented 9 months ago

The following error was returned when I attempted to parse the SPDX file for my current project: "Error while parsing no colon found in "Relationship SPDXRef-DOCUMENT DESCRIBES SPDXRef-Package-github.com"".

I'm confident that the relational mapping statement was not appended with a colon by the spdx-sbom-generator. image

kzantow commented 9 months ago

@aharal are you able to attach a sample SBOM that exhibits this behavior, and the code you are using to parse it?

aharal commented 9 months ago

@kzantow, I've included a file with a csv extension because attachments to spdx files are not supported; once you get it from your end, alter the extension from csv to spdx.
insight.csv