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 2013/10/03 14:52:42 UTC
[jira] [Created] (PDFBOX-1737) Skip whitespaces when resolving a
XRef
Andreas Lehmkühler created PDFBOX-1737:
------------------------------------------
Summary: 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)