Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting SPDX 2 to 3 generates incorrect namespace #275

Open
goneall opened this issue Jan 9, 2025 · 0 comments · May be fixed by #274
Open

Converting SPDX 2 to 3 generates incorrect namespace #275

goneall opened this issue Jan 9, 2025 · 0 comments · May be fixed by #274
Labels
bug Something isn't working

Comments

@goneall
Copy link
Member

goneall commented Jan 9, 2025

Converting:

ExternalDocumentRef:DocumentRef-hello-go-src https://swinslow.net/spdx-examples/example6/hello-go-src-v2 SHA1: b3018ddb18802a56b60ad839c98d279687b60bd6

to SPDX 3 generates:

    {
      "type" : "NamespaceMap",
      "prefix" : "DocumentRef-hello-go-src",
      "namespace" : "https://swinslow.net/spdx-examples/example6/hello-go-src-v2"
    }

The namespace should be "https://swinslow.net/spdx-examples/example6/hello-go-src-v2#" with the # appended.

@goneall goneall transferred this issue from spdx/tools-java Jan 9, 2025
@goneall goneall linked a pull request Jan 9, 2025 that will close this issue
@bact bact linked a pull request Jan 10, 2025 that will close this issue
@bact bact added the bug Something isn't working label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants