[ 
https://issues.apache.org/jira/browse/PDFBOX-1373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13430581#comment-13430581
 ] 

Eric Leleu commented on PDFBOX-1373:
------------------------------------

Hi,

This issue isn't linked with the PDFBOX-1279.
The problem comes from two objects stored with the same identifier (5 0 obj).
The first one is well formatted and is referenced in the XRef table, the second 
is an invalid dictionary (XObject - Image) that isn't used in the PDF because 
it is missing from the XRef table.

Currently, I don't know which behaviour we should have :
- reject the file because it contains an invalid dictionary (In this case, the 
file structure is invalid according to my point of view) 
- manage only the object that is referenced in the XRef table. (In this case, 
prefligth should give up the JavaCC syntactical validation in order to delegate 
this step to the Preflight Parser directly)

I think that the second option is probably the best one because the XRef table 
is the reference table for each object. Of course this is the hardest solution 
too...

What is your point of view?

BR,
Eric

 
                
> Body Syntax Error : Possible Encoding problem
> ---------------------------------------------
>
>                 Key: PDFBOX-1373
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1373
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.7.1, 1.8.0
>         Environment: LInux
>            Reporter: William Fausser
>             Fix For: 1.7.1, 1.8.0
>
>         Attachments: vtb_live.5.11.bk.10470.1403680.0_A.pdf
>
>
> On the second/third lines, I'm getting the following error on a Valid PDF/A:
> ./vtb_live.5.11.bk.10470.1403680.0_A.pdf :: The 
> file./vtb_live.5.11.bk.10470.1403680.0_A.pdf is not valid, error(s) :
> 1.2 : Body Syntax error
> Is this a left over from issue 1279?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to