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
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