[ https://issues.apache.org/jira/browse/PDFBOX-6027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986608#comment-17986608 ]
ASF subversion and git services commented on PDFBOX-6027: --------------------------------------------------------- Commit 1926774 from Tilman Hausherr in branch 'pdfbox/trunk' [ https://svn.apache.org/r1926774 ] 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: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org