You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Sebastian Nagel (JIRA)" <ji...@apache.org> on 2013/09/06 17:11:53 UTC

[jira] [Updated] (PDFBOX-1606) NonSequentialPDFParser produces garbage text in document info

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

Sebastian Nagel updated PDFBOX-1606:
------------------------------------

    Attachment: PDFBOX-1606.patch

Trailer objects including document information dictionary are parsed before security handler is instantiated. This causes meta data not to be decrypted.

Simple patch: parse trailer objects (cf. PDFBOX-1557) after instantiation of security handler in initialParse(). Unit tests pass, sample documents of PDFBOX-1554 (test_1e6a2e_001_test.pdf), PDFBOX-1557 (aa.pdf), and PDFBOX-1603 (grep.pdf) are parsed successfully extraction of test and meta data).


                
> NonSequentialPDFParser produces garbage text in document info
> -------------------------------------------------------------
>
>                 Key: PDFBOX-1606
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1606
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 1.8.1
>         Environment: Windows 7, JRE 1.7.0_15-b03
>            Reporter: Alex Alishevskikh
>         Attachments: 00-214 EU Data Protection Directive Update 12-1.pdf, PDFBOX-1606.patch
>
>
> For some documents, NonSequentialPDFParser produces PDDocumentInformation with binary garbage in its fields (title/author/producer/etc). Invocation of PDDocumentInformation.getXXXDate() methods fails with "IOException:Error converting date" for those documents.
> Classic PDFParser does not have problems with the same documents.  

--
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