Message130753
I would prefer to see this improvement as an option, rather than the default, because I believe that 'Issue4147' satisfies "pretty printing" better.
While leaving out whitespace from text-only elements is benefical for compatibility and roundtripping, there are certain situation where it hurts the prettyness of the xml really hard, an example:
<root>
<element1>
TextNode1
<childnode2 />
<childnode3 />
TextNode4
</element1>
<element2>TextNode</element2>
</root>
vs.
<root>
<element1>TextNode1<childnode2 />
<childnode3 />TextNode4</element1>
<element2>TextNode</element2>
</root> |
|
Date |
User |
Action |
Args |
2011-03-13 18:10:56 | Dávid.Gábor.Bodor | set | recipients:
+ Dávid.Gábor.Bodor, tseaver, ggenellina, ajaksu2, jmg, teajay_fr, vdupras, rrwood, BreamoreBoy |
2011-03-13 18:10:55 | Dávid.Gábor.Bodor | set | messageid: <1300039855.85.0.639109429523.issue1777134@psf.upfronthosting.co.za> |
2011-03-13 18:10:54 | Dávid.Gábor.Bodor | link | issue1777134 messages |
2011-03-13 18:10:54 | Dávid.Gábor.Bodor | create | |
|