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

RDF parser omits ID of extracted licensing info #547

Closed
armintaenzertng opened this issue Mar 30, 2023 · 0 comments · Fixed by #549
Closed

RDF parser omits ID of extracted licensing info #547

armintaenzertng opened this issue Mar 30, 2023 · 0 comments · Fixed by #549

Comments

@armintaenzertng
Copy link
Collaborator

Parsing an RDF document like the SPDXRdfExample-v2.2.spdx.rdf.xml results in extracted licensing infos such as this:

ExtractedLicensingInfo(license_id=None, extracted_text='"THE BEER-WARE LICENSE" (Revision 42):\nphk@FreeBSD.ORG wrote this file. As long as you retain this notice you\ncan do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return Poul-Henning Kamp', license_name='Beer-Ware License (Version 42)', cross_references=['http://people.freebsd.org/~phk/'], comment='The beerware license has a couple of other standard variants.')

That is, license_id=None while it should be license_id="LicenseRef-Beerware-4.2"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant