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

SPDX IDs format inconsistencies between file formats

Open xavierfigueroav opened this issue 5 years ago • 1 comments

RDF and TAG/VALUE file formats have two different ways to write SPDX IDs throughout a SPDX Document (document ID, file ID, annotation ID, package ID, etc).

For RDF files: [DocumentNamespace|DocumentURI]#[SPDX Identifier] For TAG/VALUE files: [SPDX Identifier]

A problem comes up when a TAG/VALUE file is written from reading an RDF file: SPDX IDs will have the format for RDF files. Moreover, if this behavior is ignored while developing JSON/YAML/XML support, it will spread.

xavierfigueroav avatar Apr 24 '19 02:04 xavierfigueroav

Hello @xavierfigueroav . I am Interested in this issue and want to make it a part of my proposal. Can you explain a little bit more about the problem here? Thanks for your time !!

Yash-Varshney avatar Jun 08 '20 17:06 Yash-Varshney

I just tried to reproduce this:

tools-python$ convertor -i data/SPDXRdfExample.rdf -o out.tag

The input file had rdf-style identifiers, the output file had tag-style identifiers. I will close this as it appears to be fixed already.

nicoweidner avatar Nov 04 '22 08:11 nicoweidner