You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OutputFormat.createPrettyPrint() adds extra space that I don't tend to see in xml.
It adds a space at the end of every line and a blank line after the declaration.
This goes away if you add the following after it:
OutputFormat.createPrettyPrint()
adds extra space that I don't tend to see in xml.It adds a space at the end of every line and a blank line after the declaration.
This goes away if you add the following after it:
Whilst whitespace in these places is still valid xml, it feels like they shouldn't be the defaults.
A quick search doesn't show examples using this extra whitespace.
e.g.
https://docs.oracle.com/javase/tutorial/jaxp/stax/example.html#bnbfn
https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms762271(v=vs.85)
The text was updated successfully, but these errors were encountered: