[ 
https://issues.apache.org/jira/browse/PDFBOX-6131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18047787#comment-18047787
 ] 

ASF subversion and git services commented on PDFBOX-6131:
---------------------------------------------------------

Commit 1930890 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1930890 ]

PDFBOX-6131: add cast

> 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: 2.0.35, 3.0.6 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.36, 3.0.7 PDFBox, 4.0.0
>
>         Attachments: PDFBOX-6131-0015675.pdf, PDFBOX-6131-0015675.xml, 
> PDFBOX-6131-RMR6DEEUWZO6IM3A7WKRPX33SZMBTTQZ.pdf, 
> PDFBOX-6131-RMR6DEEUWZO6IM3A7WKRPX33SZMBTTQZ.xml
>
>
> {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. VeraPDF is also 
> satisfied with that file.



--
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