You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Jan Vomlel (JIRA)" <ji...@apache.org> on 2014/10/17 09:00:53 UTC
[jira] [Created] (PDFBOX-2436) Parsing error
Jan Vomlel created PDFBOX-2436:
----------------------------------
Summary: 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
Priority: Critical
PDDocument.load method return without exception, but document model is incomplete.
You can try it by this code on attached file:
PDDocument document = PDDocument.load(new File(inFN), null);
int size = document.getSignatureDictionaries().size();
System.out.println("Signatures count:" +size);
Output is 1, but there are two signatures in PDF document.
PDFParser.class produces IOException and ignore it on line 196. Rest of the document is ignored.
loadNoSeq method works, but I cannot use it, because I want to attache new signature.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)