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

Andreas Lehmkühler updated PDFBOX-1737:
---------------------------------------


Merged into 1.8-branch in revision 1542735

> Skip whitespaces when resolving a XRef
> --------------------------------------
>
>                 Key: PDFBOX-1737
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1737
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 1.8.2, 2.0.0
>            Reporter: Andreas Lehmkühler
>            Assignee: Andreas Lehmkühler
>             Fix For: 1.8.3, 2.0.0
>
>
> Oleg Krechowetzki reported an issue with the non sequential parser via 
> private mail. He provided a working solution and a test pdf which can't be 
> attached due to privacy reasons.
> The following exception occurs when parsing the pdf in question using the non 
> sequential parser:
> Caused by: java.io.IOException: Error: Expected a long type, actual='xref'
>       at org.apache.pdfbox.pdfparser.BaseParser.readLong(BaseParser.java:1668)
>       at 
> org.apache.pdfbox.pdfparser.BaseParser.readObjectNumber(BaseParser.java:1598)
>       at 
> org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseXrefObjStream(NonSequentialPDFParser.java:458)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to