Skip to content

Invalid license name (LicenseRef-GFDL-1.3+) missed by verification, but reported by RDF conversion #51

@JanAltenberg

Description

@JanAltenberg

The attached SPDX TV file contains an invalid LicenseRef expression (LicenseRef-GFDL-1.3+)
wget2-2.0.1-SPDX2TV.txt

Verfication (using the 2.0.2 release) reports a valid SPDX document:

java -jar java-2.0.2-jar-with-dependencies.jar Verify wget2-2.0.1-SPDX2TV.spdx 
This SPDX Document is valid.

Conversion to JSON and YAML works as well:

java -jar java-2.0.2-jar-with-dependencies.jar Convert wget2-2.0.1-SPDX2TV.spdx wget2-2.0.1-SPDX2TV.spdx.json
java -jar java-2.0.2-jar-with-dependencies.jar Convert wget2-2.0.1-SPDX2TV.spdx wget2-2.0.1-SPDX2TV.spdx.json.yaml

Only Conversion to RDF correctly reports the invalid expression:

java -jar java-2.0.2-jar-with-dependencies.jar Convert wget2-2.0.1-SPDX2TV.spdx wget2-2.0.1-SPDX2TV.spdx.rdf.xml
[main] ERROR org.spdx.spdxRdfStore.RdfSpdxModelManager - ID LicenseRef-GFDL-1.3+ does not exist in the model.

Please let me know, if I can support with any further information.

Kind regards
Jan

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions