You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2014/11/18 09:52:34 UTC

[jira] [Commented] (PDFBOX-2502) false negative? 1.4.6 : Trailer Syntax error, ID is different in the first and the last trailer

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

Andreas Lehmkühler commented on PDFBOX-2502:
--------------------------------------------

The pdf has two trailer objects, but only the first one includes a document id, so that the comparison of the first and the last id has to fail. Is his the expected result or is it wrong to compare those values in this case?

> false negative? 1.4.6 : Trailer Syntax error, ID is different in the first and the last trailer
> -----------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-2502
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2502
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 2.0.0
>         Environment: java7 deb7
>            Reporter: Ralf Hauser
>             Fix For: 2.0.0
>
>         Attachments: 038R.pdf
>
>
> at org.apache.pdfbox.preflight.process.TrailerValidationProcess.checkTrailersForLinearizedPDF14(TrailerValidationProcess.java:111)
> 	at org.apache.pdfbox.preflight.process.TrailerValidationProcess.validate(TrailerValidationProcess.java:77)
> 	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)