You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/10/20 20:19:35 UTC

[jira] [Updated] (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: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)