[
https://issues.apache.org/jira/browse/PDFBOX-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
[email protected] updated PDFBOX-276:
-----------------------------------------
Attachment: BaseParser.java
I updated my code to the "Trunk version", and ran it in the debugger.
The Eclipse expression window correctly displays the values in the document.
Peter Lenahan
COSDictionary{(COSName{Title}:COSString{c:\})
(COSName{Producer}:COSString{Amyuni PDF Converter})
(COSName{Version}:COSString{Version 1.58 - Developer Licence N° 9B7449F2-8245})
(COSName{CreationDate}:COSString{1/8/2003 12:18:53}) }
<<
/Title (c:\)
/Producer (Amyuni PDF Converter)
/Version (Version 1.58 - Developer Licence N° 9B7449F2-8245)
/CreationDate (1/8/2003 12:18:53)
>>
endobj
> IOException on parsing a PDF file
> ---------------------------------
>
> Key: PDFBOX-276
> URL: https://issues.apache.org/jira/browse/PDFBOX-276
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Priority: Minor
> Attachments: BaseParser.java, BaseParser.java,
> PDFBOX276-NotIndexedDocument.pdf
>
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1722594
> Originally submitted by doublep-enw on 2007-05-21 05:10.
> When parsing the attached file, PDFBox throws the following exception:
> java.io.IOException: expected='/' actual='?'--1
> org.pdfbox.io.pushbackinputstr...@159f498
> at org.pdfbox.pdfparser.BaseParser.parseCOSName(BaseParser.java:774)
> at org.pdfbox.pdfparser.BaseParser.parseCOSDictionary(BaseParser.java:217)
> at org.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:910)
> at org.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:432)
> at org.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:176)
> The file does look strange inside, but PDF viewers don't seem to care.
> [attachment on SourceForge]
> http://sourceforge.net/tracker/download.php?group_id=78314&atid=552832&aid=1722594&file_id=229983
> NotIndexedDocument.pdf (application/pdf), 8728 bytes
> unparseable file
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.