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:03:33 UTC

[jira] [Updated] (PDFBOX-2436) Parsing error

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

Jan Vomlel updated PDFBOX-2436:
-------------------------------
    Attachment: h1.pdf

Input to reproduce error .

> 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
>         Attachments: h1.pdf
>
>
> 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)