https://bugs.linuxfoundation.org/show_bug.cgi?id=1290

             Bug #: 1290
           Summary: SPDXTools does not accept WITH operator in tag file
                    LicenseConcluded field.
           Product: SPDX
           Version: 2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Pretty Printer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Created attachment 490
  --> https://bugs.linuxfoundation.org/attachment.cgi?id=490
SPDX tag file containing LicenseConcluded filed using WITH operator.

When using SPDXTools to covert a tag file into rdf, then I find that the
LicenseConcluded filed does not accept the WITH operator, which means that it
is not possible to process SDPX files containing exceptions. The attached file
contains an example LicenseConcluded that uses WTIH and this can be seen to
fail as follows:

> java -jar spdx-tools-2.0.0-jar-with-dependencies.jar TagToRDF with.tag tag.rdf
Error creating SPDX Analysis: org.spdx.rdfparser.InvalidSPDXAnalysisException:
Invalid type for licenseInfo 'WithExceptionOperator'

-- 
Configure bugmail: https://bugs.linuxfoundation.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Spdx-tech mailing list
[email protected]
https://lists.spdx.org/mailman/listinfo/spdx-tech

Reply via email to