[ 
https://issues.apache.org/jira/browse/FOP-3236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17927084#comment-17927084
 ] 

Mathias R. Huber edited comment on FOP-3236 at 2/14/25 9:37 AM:
----------------------------------------------------------------

[~jgoncalves] 

... but I decided to add the namespace to the parent element ...
You know the code better than I do - and yes - your solution is more elegant.

I have tested this locally and all three tools (Acrobat Prefligt, VeraPDF and 
PAC) confirm a correct PDF/A-2a and PDF/UA-1.

Attached is the XMP meta XML from the PDF that was created with the commit 
d2e25108afcda:

[^testdoc-xmpmeta-from-pdf_commit_d2e25108afcda.xml]

Thank you very much for your work!


was (Author: JIRAUSER308672):
[~jgoncalves] 

... but I decided to add the namespace to the parent element ...
You know the code better than I do - and yes - your solution is more elegant.

I have tested this locally and all three tools (Acrobat Prefligt, VeraPDF and 
PAC) confirm a correct PDF/A-2a and PDF/UA-1.

Attached is the XMP meta XML from the PDF that was created with the commit 
d2e25108afcda:

[^testdoc-xmpmeta-from-pdf_commit_d2e25108afcda.xml]

> 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-xmpmeta-from-pdf_commit_d2e25108afcda.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)

Reply via email to