You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2025/12/24 05:58:00 UTC

[jira] [Updated] (PDFBOX-6131) XmpParsingException: Unknown property value type : Open Choice of Integer

     [ https://issues.apache.org/jira/browse/PDFBOX-6131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr updated PDFBOX-6131:
------------------------------------
    Attachment: PDFBOX-6131-0015675.pdf

> 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
>
>
> {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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org