Hello Olivier,

I think you should report the issue on the JIRA bugtracker:
https://issues.apache.org/jira/projects/XERCESJ/issues/XERCESJ-493

regards,

On Mon, Jun 16, 2025 at 11:15 AM Olivier Cailloux <
olivier.caill...@dauphine.psl.eu> wrote:

> Dear list,
>
> The LSSerializer
> <https://xml.apache.org/xalan-j/apidocs/org/w3c/dom/ls/LSSerializer.html> of
> Xerces 2.12.2 with pretty-print misses a new line after the xml
> declaration. The bug is similar to JDK-8259502
> <https://bugs.openjdk.org/browse/JDK-8259502>, that has been corrected in
> the JDK (although the bug description mentions Xalan, the bug does happen
> if, and only if, Xerces is included in the dependencies
> <https://github.com/oliviercailloux/JARiS/blob/xerces-html/pom.xml#L83-L88>).
> It can be reproduced with this test
> <https://github.com/oliviercailloux/JARiS/blob/xerces-html/src/test/java/io/github/oliviercailloux/jaris/xml/XercesSerializationTests.java>
> .
>
> Should I report this somewhere?
>
>

Reply via email to