[
https://issues.apache.org/jira/browse/PDFBOX-6136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18048390#comment-18048390
]
ASF subversion and git services commented on PDFBOX-6136:
---------------------------------------------------------
Commit 1930980 from Tilman Hausherr in branch 'pdfbox/branches/3.0'
[ https://svn.apache.org/r1930980 ]
PDFBOX-6136: ignore empty prefix
> Invalid PDF/A namespace definition, prefix: xmlns, namespace:
> http://www.aiim.org/pdfa/ns/extension/
> ----------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-6136
> URL: https://issues.apache.org/jira/browse/PDFBOX-6136
> Project: PDFBox
> Issue Type: Bug
> Components: XmpBox
> Affects Versions: 2.0.35, 3.0.6 PDFBox
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Major
> Fix For: 2.0.36, 3.0.7 PDFBox, 4.0.0
>
> Attachments: PDFBOX-6136-0018804-reduced.xml, PDFBOX-6136-0018804.pdf
>
>
> {noformat}
> Invalid PDF/A namespace definition, prefix: xmlns, namespace:
> http://www.aiim.org/pdfa/ns/extension/
> at
> org.apache.xmpbox.xml.PdfaExtensionHelper.checkNamespaceDeclaration(PdfaExtensionHelper.java:100)
> at
> org.apache.xmpbox.xml.PdfaExtensionHelper.validateNaming(PdfaExtensionHelper.java:71)
> at
> org.apache.xmpbox.xml.DomXmpParser.parseSchemaExtensions(DomXmpParser.java:281)
> at org.apache.xmpbox.xml.DomXmpParser.parse(DomXmpParser.java:225)
> {noformat}
> The file has xmlns="http://www.aiim.org/pdfa/ns/extension/"
> xmlns:pdfaExtension="http://www.aiim.org/pdfa/ns/extension/", IMHO the first
> one can be ignored. The PDFLib validator doesn't complain.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]