Details
Description
When loading the FDF document below using FDFDocument.load(InputStream) it will load fine but the returned FDFDocument instance returns null when I call fdf.getCatalog().getFDF().getFields().
In the log I get the following warnings:
Oct 08, 2014 4:40:37 PM org.apache.pdfbox.pdfparser.XrefTrailerResolver setTrailer WARNING: Cannot add trailer because XRef start was not signalled. Oct 08, 2014 4:40:37 PM org.apache.pdfbox.pdfparser.XrefTrailerResolver setStartxref WARNING: Did not found XRef object at specified startxref position 0
Loading the same FDF file using PDFBox 1.4.0 works fine. All later versions I tried have the same problem (including 1.8.7).
The FDF document was created using Adobe's FDF Toolkit 6.0 on Windows 8.1.
You can download the FDF file from https://www.sixtyten.de/ifam/erbst_erkl_form.fdf.zip
Attachments
Attachments
Issue Links
- depends upon
-
PDFBOX-2468 Switch FDFDocument.load from PDFParser to NonSequentialParser
- Closed