tools-golang icon indicating copy to clipboard operation
tools-golang copied to clipboard

Error while parsing no colon found in 'Relationship'

Open aharal opened this issue 2 years ago • 2 comments

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

aharal avatar Sep 21 '23 19:09 aharal

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

kzantow avatar Sep 22 '23 15:09 kzantow

@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

aharal avatar Sep 26 '23 08:09 aharal