pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Leleu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PDFBOX-1101) Improve JavaCC Grammar and Preflight to manage Xref stream object
Date Sat, 27 Aug 2011 12:00:41 GMT

     [ https://issues.apache.org/jira/browse/PDFBOX-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eric Leleu resolved PDFBOX-1101.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0

Behaviour of the JavaCC parser is adapted to the PDF version.
In a PDF 1.4 (and lower), JavaCC expects a "trailer" and a "xref" key words.
In a PDF 1.5 (and higher), control is done in the Preflight code using PDFBox. 

This issue fixes and other problem about StringLiteral in JavaCC 

> Improve JavaCC Grammar and Preflight to manage Xref stream object
> -----------------------------------------------------------------
>
>                 Key: PDFBOX-1101
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1101
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.7.0
>            Reporter: Eric Leleu
>            Assignee: Eric Leleu
>             Fix For: 1.7.0
>
>
> Until PDF 1.4, keywords "xref" and "trailer"  were mandatory at the end of the PDF File
to know where object are located into the PDF Body.
> However, according to my understanding of the PDF Reference 1.5 and 1.7, this two entries
can be referenced as object stream.
> Because of the PDF/A-1 specification is based on the PDF 1.4, our JavaCC parser check
that the file contains trailer entries and extract these trailers to process some controls
after Syntax Validation.
> TODO :
> - Check XRef and Trailer needs in the PDFReference 1.4 to 1.7
> - implement new XRef and Trailer managment rules in preflight.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message