[
https://issues.apache.org/jira/browse/PDFBOX-1087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-1087:
------------------------------------
Description:
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}
was:
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
%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
> 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)