[
https://issues.apache.org/jira/browse/PDFBOX-3592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15691307#comment-15691307
]
Tilman Hausherr commented on PDFBOX-3592:
-----------------------------------------
In your mailing list post you wrote
{quote}
I see similar code in 2.0.3 COSParser.parseXref().
{quote}
I thought this means that it has been fixed in 2.0.3 ?
Anyway, please try to reproduce the effect with the attached file, by editing
it with NOTEPAD++.
> Missing stream in /XrefStm causes parse to break
> ------------------------------------------------
>
> Key: PDFBOX-3592
> URL: https://issues.apache.org/jira/browse/PDFBOX-3592
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 1.8.9, 2.0.0
> Reporter: Pat Hickey
> Priority: Trivial
> Attachments: PDFBOX-3592-orig.pdf
>
>
> When the pdf document contains a startref and xref table (a la PDF1.4) as
> well as an /XRefStm, but the offset given by /XRefStm does not describe a
> xref (stream or otherwise), PDFBox does its level best to find the xref info
> using a brute force search. In the case where the document only contains the
> xref table given by startxref, and does not contain an object of /Type /XRef,
> the brute force search results in the xref table.
> See diffs for COSParser.java(2.0.0) and NonSequentialPDFParser.java (1.8.9),
> below.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]