spdx / tools-golang

Collection of Go packages to work with SPDX files
Other
130 stars 59 forks source link

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

Open aharal opened 1 year ago

aharal commented 1 year 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 1 year 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 1 year 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