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 2013/06/17 08:15:20 UTC

[jira] [Commented] (PDFBOX-1641) Parsing of PDFs fails when no '<<' between directory objects

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

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

The preferred way to contribute is to attach a patch in diff format to this issue. A sample pdf demonstrating the issue would be a plus.
                
> Parsing of PDFs fails when no '<<' between directory objects
> ------------------------------------------------------------
>
>                 Key: PDFBOX-1641
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1641
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 1.8.2, 2.0.0
>            Reporter: Niko Ojanen
>
> PDF's that are missing {{<<}} between two COS directory objects are failing with parsing. 
> E.g.
> {noformat}
> >>
> endobj
> 2 0 obj
> >>
> endobj
> 5 0 obj
> <<
> {noformat}
> The fix for handling these situations is adding under 20 lines of code to {{BaseParser.java}} (which I'd like to contribute).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira