Skip to content

SPDX IDs format inconsistencies between file formats #105

Closed

Description

@xavierfigueroav

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.

Activity

  1. Yash-Varshney commented on Jun 8, 2020

    @Yash-Varshney
    Contributor

    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 !!

  2. nicoweidner commented on Nov 4, 2022

    @nicoweidner
    Collaborator

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions