Disable XML pretty-printing.

Closes #218
This commit is contained in:
Mark Paluch
2022-07-13 11:26:18 +02:00
parent d5f5670081
commit 49061eae42

View File

@@ -47,6 +47,7 @@ class BuildConfiguration {
DefaultXMLFactoriesConfig config = new DefaultXMLFactoriesConfig();
config.setNamespacePhilosophy(NamespacePhilosophy.AGNOSTIC);
config.setOmitXMLDeclaration(false);
config.setPrettyPrinting(false);
return new XBProjector(config, Flags.TO_STRING_RENDERS_XML);
}