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

Tilman Hausherr edited comment on PDFBOX-6027 at 6/27/25 8:09 PM:
------------------------------------------------------------------

To test with Apache Xalan and profit from PDFBOX-6026, add this to the pom.xml:
{code:xml}
            <dependency>
                <groupId>xalan</groupId>
                <artifactId>xalan</artifactId>
                <version>2.7.3</version>
            </dependency>
            <dependency>
                <groupId>xalan</groupId>
                <artifactId>serializer</artifactId>
                <version>2.7.3</version>
            </dependency>
{code}


was (Author: tilman):
To test with Apache Xalan, add this to the pom.xml:
{code:xml}
            <dependency>
                <groupId>xalan</groupId>
                <artifactId>xalan</artifactId>
                <version>2.7.3</version>
            </dependency>
            <dependency>
                <groupId>xalan</groupId>
                <artifactId>serializer</artifactId>
                <version>2.7.3</version>
            </dependency>
{code}

> 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

Reply via email to