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

Maruan Sahyoun commented on PDFBOX-2417:
----------------------------------------

The file might have an issue
 good: Acrobat’s preflight doesn’t complain about the file
 bad: PDFLibs XMP test fails when testing the exported XMP with „… PDF/A 
extension schema 'stDim' doesn't have description embedded ..“

So there might be some research needed.

> xmp regression? 7.3 : Error on MetaData, Schema is not set in this document : 
> http://ns.adobe.com/xap/1.0/sType/Dimensions#
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-2417
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2417
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 2.0.0
>            Reporter: Ralf Hauser
>             Fix For: 2.0.0
>
>         Attachments: good0011.pdf, patch2417.txt, patch2417a.txt
>
>
> oops, the error message has changed a little bit:
> was "7.6 : Error on MetaData, Type not defined : Dimensions"
> org.apache.xmpbox.xml.XmpParsingException: Schema is not set in this document 
> : http://ns.adobe.com/xap/1.0/sType/Dimensions#
>       at 
> org.apache.xmpbox.xml.DomXmpParser.checkPropertyDefinition(DomXmpParser.java:808)
>       at 
> org.apache.xmpbox.xml.DomXmpParser.parseLiDescription(DomXmpParser.java:530)
>       at 
> org.apache.xmpbox.xml.DomXmpParser.createProperty(DomXmpParser.java:353)
>       at 
> org.apache.xmpbox.xml.DomXmpParser.parseDescriptionRoot(DomXmpParser.java:292)
>       at org.apache.xmpbox.xml.DomXmpParser.parse(DomXmpParser.java:206)
>       at org.apache.xmpbox.xml.DomXmpParser.parse(DomXmpParser.java:114)
>       at 
> org.apache.pdfbox.preflight.process.MetadataValidationProcess.validate(MetadataValidationProcess.java:66)
>       at 
> org.apache.pdfbox.preflight.utils.ContextHelper.callValidation(ContextHelper.java:73)
>       at 
> org.apache.pdfbox.preflight.utils.ContextHelper.validateElement(ContextHelper.java:88)
>       at 
> org.apache.pdfbox.preflight.PreflightDocument.validate(PreflightDocument.java:168)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to