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 2014/10/20 20:23:34 UTC
[jira] [Commented] (PDFBOX-1087) FDF parsing is unreliable when
xref are missing
[ https://issues.apache.org/jira/browse/PDFBOX-1087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14177247#comment-14177247 ]
Andreas Lehmkühler commented on PDFBOX-1087:
--------------------------------------------
FDFDocument.load uses the "old" parser.
> FDF parsing is unreliable when xref are missing
> -----------------------------------------------
>
> Key: PDFBOX-1087
> URL: https://issues.apache.org/jira/browse/PDFBOX-1087
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 1.6.0
> Environment: Windows Vista SP2 / jre 1.6.0 update 26
> Reporter: Michel Onoff
>
> The following simple FDF is not parsed correctly. The fields list returned by FDFDocument.load(fdfPath).getCatalog().getFDF().getFields(); is null. Note that xrefs are optional in FDF
> {code}
> %FDF-1.2
> %âãÏÓ
> 1 0 obj
> <<
> /FDF << /Fields [ << /V (Sample body)/T (Body)>> << /V (Sample to)/T (To)>>
> ]
> >>
> >>
> endobj
> trailer
> <<
> /Root 1 0 R
> >>
> %%EOF
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)