Tilman Hausherr created PDFBOX-6131:
---------------------------------------

             Summary: XmpParsingException: Unknown property value type : Open 
Choice of Integer
                 Key: PDFBOX-6131
                 URL: https://issues.apache.org/jira/browse/PDFBOX-6131
             Project: PDFBox
          Issue Type: Bug
          Components: XmpBox
    Affects Versions: 3.0.6 PDFBox, 2.0.35
            Reporter: Tilman Hausherr
            Assignee: Tilman Hausherr
             Fix For: 2.0.36, 3.0.7 PDFBox, 4.0.0


{noformat}
XmpParsingException: Unknown property value type : Open Choice of Integer
        at 
org.apache.xmpbox.xml.PdfaExtensionHelper.populatePDFAPropertyType(PdfaExtensionHelper.java:199)
        at 
org.apache.xmpbox.xml.PdfaExtensionHelper.populatePDFASchemaType(PdfaExtensionHelper.java:179)
        at 
org.apache.xmpbox.xml.PdfaExtensionHelper.populateSchemaMapping(PdfaExtensionHelper.java:133)
        at org.apache.xmpbox.xml.DomXmpParser.parse(DomXmpParser.java:238)
{noformat}

This happens with a few files because we check for "open" and "close" and such 
problematic files use "Open" and "Close" in "pdfaProperty:valueType" for 
extension schemas. "Bag" and "Seq" have the same problem.

The PDFLib validator accepts both, thus so should we.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to