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

Michael Klink commented on PDFBOX-5288:
---------------------------------------

Please always share an example PDF file when you report unexpected validation 
behavior.

Even though other validators let the file pass, it might be invalid.

Many validators kind of specialize on a certain sub-selection of PDF/A 
criteria. In particular many validators don't check for basic PDF errors but 
instead assume that the tested file is a valid PDF.

The latter two items appear to indicate that the file violates certain basic 
PDF requirements.

> Valid PDF/A 1B is rejected
> --------------------------
>
>                 Key: PDFBOX-5288
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5288
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 2.0.21, 2.0.24
>         Environment: Java 1.8
>            Reporter: Manuel
>            Priority: Major
>
> When we try to validate a PDF/A 1B file, we get an not valid value with these 
> error messages:
>  * 7.3 - error on metadata, schema is not set in this document : 
> http://ns.adobe.com/xap/1.0/stype/resourceevent#||
>  * 1.2.5 - body syntax error, stream length is invalid [cobj=cosobject\{10, 
> 0}; defined length=15; buffer2=endstream]
>  * 1.2.5 - body syntax error, stream length is invalid [cobj=cosobject\{13, 
> 0}; defined length=15; buffer2=endstream]
> But this file is valid for veraPDF and at online validator 
> ([https://www.pdf-online.com/osa/validate.aspx).]
>  
> We are working with 2.0.21 version and we also tried with 2.0.24, but same 
> result is returned.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to