-
-
Notifications
You must be signed in to change notification settings - Fork 193
Description
I'll use OpenPDF to create a PDF from scratch, add the PDFA/1 stuff by adding the relevant tags and use the mustungproject to create the eRechnung part. The PDF is a valid PDFA/1 (checked with several tools) and everything works fine.
The latest version of OpenPDF now support the new (from 2017 ... ;-)) PDF standard 2.0. In opposite to the standards before, a PDF starts now with %PDF-2 and no longer with %PDF-1. Running new ZUGFeRDExporterFromA1().load()) now fails. The validation is saying: Header Syntax error, First line must match %PDF-1.\d. Which is correct, bc it is now %PDF-2.
It looks like the lib used to validate PDFs does not support the latest PDF standard.
I'll checked the genereated PDF aganist several chekers. They all confirm, that the document is valid and the conformance level applied is PDF/A-1b.