[
https://issues.apache.org/jira/browse/FOP-3236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17927000#comment-17927000
]
Joao Goncalves edited comment on FOP-3236 at 2/13/25 11:43 PM:
---------------------------------------------------------------
[~mrhuber] You solution worked fine, but I decided to add the namespace to the
parent element. This removes the duplication that we currently have.
You can check the fix here:
[https://github.com/apache/xmlgraphics-commons/commit/d2e25108afcdab4e739600c0b1649dd6e83339a3]
I'll update the ticket once I merge the commit.
was (Author: JIRAUSER302961):
[~mrhuber] You solution worked fine, but I decided to add the namespace to the
parent element. This removes the duplication that we currently have.
> PDF/A and PDF/UA check of the PDFs is not successful
> ----------------------------------------------------
>
> Key: FOP-3236
> URL: https://issues.apache.org/jira/browse/FOP-3236
> Project: FOP
> Issue Type: Bug
> Components: renderer/pdf
> Affects Versions: 2.10
> Environment: Apache FOP 2.10 on Windows or Linux with Java 17 Runtime
> Reporter: Mathias R. Huber
> Priority: Major
> Attachments: foconfig.xml, testdoc-xmpmeta-from-pdf.xml, testdoc.fo,
> testdoc.xml, testdoc.xsl
>
>
> PDF validation for valid PDA/A-2a and PDF/UA-1 fails with the following tools.
> * Vera PDF: [https://demo.verapdf.org/]
> * PDF Accessibility Checker (PAC) 2024 ->
> [https://support.axes4.com/hc/de/articles/7371921627794-PDF-Accessibility-Checker-PAC-2024]
> * Adobe Acrobat PRO 2024.005 (Preflight)
>
> The 'x:xmpmeta' have been extended in FOP-3144 to include the PDF-A
> extensions. The namespace for the XML elements with the prefix 'pdfaSchema'
> and 'pdfaProperty' is missing.
> Namespace attributes are missing for the following XML elements:
> * Namespace: xmlns:pdfaSchema="http://www.aiim.org/pdfa/ns/schema#"
> ** X-Path:
> /x:xmpmeta/rdf:RDF/rdf:Description/pdfaExtension:schemas/rdf:Bag/rdf:li/
> ** XML-Elements:
> *** pdfaSchema:schema
> *** pdfaSchema:namespaceURI
> *** pdfaSchema:prefix
> *** pdfaSchema:property
> * Namespace: xmlns:pdfaProperty="http://www.aiim.org/pdfa/ns/property#"
> ** X-Path:
> /x:xmpmeta/rdf:RDF/rdf:Description/pdfaExtension:schemas/rdf:Bag/rdf:li/pdfaSchema:property/rdf:Seq/rdf:li
> ** XML-Elements:
> *** pdfaProperty:name
> *** pdfaProperty:valueType
> *** pdfaProperty:category
> *** pdfaProperty:description
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)