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

Tilman Hausherr commented on PDFBOX-2417:
-----------------------------------------

I added the exception parameter because it makes sense, but I don't understand 
what you mean with "worked before fix of isartor tests PDFBOX-2299". There were 
several commits there, what doesn't work now and how would it be related to 
that? Or do you mean that the improved error messages should help finding the 
problem here?

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