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?
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?