Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.2.2
-
Fix Version/s: 5.0.0 alpha1, 5.0
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
-
ICEsoft Forum Reference:
Description
The PDF in question has several Errors in the byte offsets defined in the xref table. Generally speaking ICEpdf should detect the error and start a full document parse, locating all the objects in the file. For some reason the fall back code isn't getting executed and page loading fails. It should be noted that acrobat displays a few errors when loading the document.
Tasks for this bug.
- figure out why the fallback code isn't executing
- consider an parser enhancement, instead of parsing the whole file into memory on failure, we should consider updating the xref table with new byte offset found by parsing file, but not keeping the objects in memory.
Tasks for this bug.
- figure out why the fallback code isn't executing
- consider an parser enhancement, instead of parsing the whole file into memory on failure, we should consider updating the xref table with new byte offset found by parsing file, but not keeping the objects in memory.
Activity
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | linearized.pdf [ 13597 ] |
Patrick Corless
made changes -
Attachment | graph.pdf [ 13599 ] |
Patrick Corless
made changes -
Salesforce Case | [] | |
Fix Version/s | 5.0 [ 10314 ] | |
Fix Version/s | 4.3 [ 10266 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #32602 | Tue Dec 04 09:56:34 MST 2012 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/util/Parser.java
MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/ContentParser.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Catalog.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/ImageReference.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Document.java |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Fix Version/s | 5.0.0 alpha1 [ 10676 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Xref problems.