[
https://issues.apache.org/jira/browse/PDFBOX-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13665023#comment-13665023
]
Sebastian Nagel commented on PDFBOX-1606:
-----------------------------------------
Metadata extraction also produces garbage for test_1e6a2e_001_test.pdf from
PDFBOX-1554 which can be parsed only by NonSequentialPDFParser (PDFParser
fails).
Is there a reason why NonSequentialPDFParser decrypts the document already in
the constructor (via initialParse())? This constrains a decryption handling
different from PDFParser where the PDDocument can be decrypted later via
decrypt() or openProtection().
> 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
>
>
> 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