Antoine Ribes created PDFBOX-3135:
-------------------------------------
Summary: False negative with 2503.pdf file of issue PDFBOX-2503
Key: PDFBOX-3135
URL: https://issues.apache.org/jira/browse/PDFBOX-3135
Project: PDFBox
Issue Type: Bug
Components: Preflight
Affects Versions: 1.8.10, 2.0.0
Environment: jdk1.7.0_09
Reporter: Antoine Ribes
Using the code of the CookBook for PDF/A validation (1.8.10) :
- with the 2503.pdf as entry file
- and only replacing the code "parser.parse()" with
"parser.parse(Format.PDF_A1B)",
result.isValid() is false with 1.8.10, 2.0.0-RC1 and 2.0.0-RC2 versions of
pdfbox and preflight. The error displayed is : "7.2 : Error on MetaData,
CreationDate present in the document catalog dictionary doesn't match with XMP
information"
Note : With same file and version 1.8.8, I get as expected a result.isValid()
true and, with version 1.8.7, I actually obtain the "7.2 : Error on MetaData,
Producer present in the document catalog dictionary doesn't match with XMP
information" error message given in the issue PDFBOX-2503.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]