[
https://issues.apache.org/jira/browse/PDFBOX-6027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986607#comment-17986607
]
ASF subversion and git services commented on PDFBOX-6027:
---------------------------------------------------------
Commit 1926773 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1926773 ]
PDFBOX-6027: second setAttributeNS() parameter must be "xml:lang" instead of
"lang" to avoid troubles if Apache Xalan is in the classpath
> invalid XMP generated when Apache Xalan in the classpath
> --------------------------------------------------------
>
> Key: PDFBOX-6027
> URL: https://issues.apache.org/jira/browse/PDFBOX-6027
> Project: PDFBox
> Issue Type: Bug
> Components: XmpBox
> Affects Versions: 2.0.34, 3.0.5 PDFBox
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.35, 3.0.6 PDFBox, 4.0.0
>
>
> I asked ChatGPT about the problem in PDFBOX-4817. It is because
> setAttributeNS() is called with "lang" instead of "xml:lang" as the second
> parameter. This is because Apache Xalan is stricter than the standard
> transformer from the jdk.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]