You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tyler Palsulich (JIRA)" <ji...@apache.org> on 2014/06/04 19:09:01 UTC

[jira] [Updated] (PDFBOX-1922) NonSequentialParser not reading version in header and trailer

     [ https://issues.apache.org/jira/browse/PDFBOX-1922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tyler Palsulich updated PDFBOX-1922:
------------------------------------

    Attachment: testComment.pdf

I'm still having some more trouble with NonSeq and default returning different versions. For testComment.pdf (attached), the default parser detects 1.5, but the sequential one detects 1.4. Ideas?

> NonSequentialParser not reading version in header and trailer
> -------------------------------------------------------------
>
>                 Key: PDFBOX-1922
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1922
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 1.8.4, 1.8.5, 1.8.6, 2.0.0
>            Reporter: Tim Allison
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 1.8.6, 2.0.0
>
>         Attachments: testAnnotations.pdf, testComment.pdf
>
>
> On older pdf files, the NonSequentialParser returns a different PDFVersion than the traditional parser via the call: document.getDocument().getVersion().  
> I think this is because NonSequentialParser is not reading the header but relying on the default 1.4 if no version is found in the trailer.
> Many apologies if this is a duplicate.  I feel like I've seen this issue elsewhere, but I can't track it down.



--
This message was sent by Atlassian JIRA
(v6.2#6252)