Welcome! Please see the About page for a little more info on how this works.

0 votes
in data.xml by

Using the indent-xml, which goes through a print read roundtrip with Transformer to do the indenting now adds newlines to every node with Java 9 (so you get different output. This was first seen at https://dev.clojure.org/jira/browse/TDEPS-29.

javax.xml.transform.Transformer has had changes in Java 9, presumably due to the update to Xerces-J 2.11.0 (https://xerces.apache.org/xerces2-j/releases.html). Here's a blog outlining some of the effects: http://java9.wtf/xml-transformer/. Possibly also relevant: https://bugs.java.com/view_bug.do?bug_id=JDK-8087303

Seems like the last and some other places I've found hint that https://docs.oracle.com/javase/7/docs/api/org/w3c/dom/ls/LSSerializer.html is one possible answer.

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/DXML-53 (reported by alexmiller)
...