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

Tilman Hausherr resolved PDFBOX-6129.
-------------------------------------
    Resolution: Fixed

> XmpParsingException: Missing pdfaSchema:property in type definition in 
> lenient mode
> -----------------------------------------------------------------------------------
>
>                 Key: PDFBOX-6129
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6129
>             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-6129.xml
>
>
> {noformat}
> org.apache.xmpbox.xml.XmpParsingException: Missing pdfaSchema:property in 
> type definition
>       at 
> org.apache.xmpbox.xml.PdfaExtensionHelper.requireNonNull(PdfaExtensionHelper.java:314)
>       at 
> org.apache.xmpbox.xml.PdfaExtensionHelper.populatePDFASchemaType(PdfaExtensionHelper.java:162)
>       at 
> org.apache.xmpbox.xml.PdfaExtensionHelper.populateSchemaMapping(PdfaExtensionHelper.java:121)
>       at org.apache.xmpbox.xml.DomXmpParser.parse(DomXmpParser.java:220)
>       at org.apache.xmpbox.xml.DomXmpParser.parse(DomXmpParser.java:125)
> {noformat}
> This is related to a series of XMP files that have an incomplete 
> pdfaExtension. 
> {code:xml}
> <rdf:li rdf:parseType="Resource">
>   
> <pdfaSchema:namespaceURI>http://ns.adobe.com/pdf/1.3/</pdfaSchema:namespaceURI>
>   <pdfaSchema:prefix>pdf</pdfaSchema:prefix>
>   <pdfaSchema:schema>Adobe PDF Schema</pdfaSchema:schema>
> </rdf:li>
> {code}
> Lenient mode should be able to accept such files.



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