Forum Bugs

Metadata and PDF-A/1a - question

CarloPost
In our application we generate PDF-A/1a PDF files and we use the --pdf-xmp option to add customer specific metadata.
When we validate this generated PDF to check if it satisfies the PDF-A/1a standards with some online tool (e.g. https://www.pdf-online.com/osa/validate.aspx), we get the following error:

The schema description for namespace 'pdfx:' (http://ns.adobe.com/pdfx/1.3/) is missing.

When we check the generated PDF file with a metadata tool (e.g. pdfinfo -meta <PDFfile> on a Linux system) however, the namespace declaration is visible in the metadata part in the following manner (example):

<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pdf="http://ns.adobe.com/pdf/1.3/" xmlns:pdfx="http://ns.adobe.com/pdfx/1.3/" xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/" rdf:about="">
<!-- ... metadata ... -->
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end="r"?>

Can you give us a clue?
wangp
It appears that validator does not recognise values using the rdf:resource attribute form:
<pdfaSchema:namespaceURI rdf:resource="http://www.aiim.org/pdfua/ns/id/"/>

We will change Prince to write namespaceURI values in element content:
<pdfaSchema:namespaceURI>http://www.aiim.org/pdfua/ns/id/</pdfaSchema:namespaceURI>

By the way, since you are generating PDF/A files, you will need to provide PDF/A extension schema descriptions for any custom properties, if you are not doing so.
CarloPost
Hi Wang,
Thanks for the information sofar. Some more question: are the modifications you mentioned in your last reply done into the PrinceXML software so that we can upgrade prince at out system with these modifications?
mikeday
This issues is fixed now in the latest builds.

Edited by mikeday

mikeday
This issue has also been fixed in Prince 12.5.