Description
Validating a PDF for A1 compatibility, I get an error:
Error on MetaData, Title present in the document catalog dictionary can't be found in XMP information (Property is not defined)
Yet when I look at the file, the property is defined as such:
<dc:title> <rdf:Alt> <dc:li>Rechnung 14512-14-001</dc:li> </rdf:Alt> </dc:title>
The code that sets the title (in order to make sure it's the same as the one from the document information):
DublinCoreSchema dublinCore = xmp.createAndAddDublinCoreSchema();
dublinCore.setTitle("x-default", docInfo.getTitle());
Setting the creator via DublinCoreSchema seems to work as it doesn't raise the error anymore after calling
dublinCore.addCreator(docInfo.getAuthor());
.