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 2015/03/02 20:09:06 UTC
[jira] [Resolved] (PDFBOX-2436) Parsing error
[ https://issues.apache.org/jira/browse/PDFBOX-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler resolved PDFBOX-2436.
----------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Works fine using the non-sequential parser after solving PDFBOX-2515. The fix is limited to the trunk version
Thanks for the report
> Parsing error
> -------------
>
> Key: PDFBOX-2436
> URL: https://issues.apache.org/jira/browse/PDFBOX-2436
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 1.8.7
> Environment: Java 8
> Reporter: Jan Vomlel
> Assignee: Andreas Lehmkühler
> Priority: Critical
> Fix For: 2.0.0
>
> Attachments: h1.pdf
>
>
> PDDocument.load method returns without exception, but document model is incomplete.
> You can try it by this code on attached file:
> {code}
> PDDocument document = PDDocument.load(new File(inFN), null);
> int size = document.getSignatureDictionaries().size();
> System.out.println("Signatures count:" +size);
> {code}
> Output is 1, but there are two signatures in PDF document.
> PDFParser.class produces IOException and ignores it on line 196. Rest of the document is ignored.
> loadNoSeq method works, but I cannot use it, because I want to attach a new signature.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org