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/27 12:55:00 UTC

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

    [ https://issues.apache.org/jira/browse/PDFBOX-6131 ]


    Tilman Hausherr deleted comment on PDFBOX-6131:
    -----------------------------------------

was (Author: tilman):
While searching for a test file for "Seq" I did find one, however this uncovered a new bug, see PDFBOX-6133.

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