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/19 11:21:34 UTC

[jira] [Resolved] (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:all-tabpanel ]

Andreas Lehmkühler resolved PDFBOX-2502.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.8.8

[~msahyoun] Thanks for the clarification

I've changed the comparison, so that the check is performed only if both IDs are available.

> 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: 1.8.7, 2.0.0
>         Environment: java7 deb7
>            Reporter: Ralf Hauser
>            Assignee: Andreas Lehmkühler
>             Fix For: 1.8.8, 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)