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