The PDF Information Dictionary entry Creator is not consistent with PDF XMP metadata information
digitalfox opened this issue · 1 comments
digitalfox commented
First, thanks a lot for this very handy library.
I manage to get PDF/A-B3 compliant files with factu-x lib, except one check about consistency between PDF legacy metadata and XMP metadata.
Vera does not complain about it, but some other validor does, ex. https://avepdf.com/pdfa-validation
In facturx.py line 490, creator_tool is indeed a fixed string and not read from pdf_metadata dict.
alexis-via commented
The lib writes the same string in:
- the historic/legacy metadata (/Creator )
- the XML metadata (xmp:CreatorTool</xmp:CreatorTool>)
I made a test on https://avepdf.com/pdfa-validation with factur-x 3.0 and the file is reported as valid PDF/A-3b.
Could you help me reproduce the error?