Mantis - Squeak Packages
Viewing Issue Advanced Details
7442 XML-Yaxo minor always 01-12-10 12:52 04-08-10 14:28
gherolyants  
 
normal  
new  
open  
none    
none  
0007442: Pretty printing of XML document
I tried to pretty print XML document but without success. Line breaks were not in all the necessary places.

The fixed version of XML-Parser package is here:
http://www.squeaksource.com/gherolyants/XML-Parser-GeorgeHerolyants.21.mcz. [^]

To enable line breaks send an instance of XMLWriter "newLinesAllowed: true" message (default is false).
To enable pretty printing (this both sets the above setting to true and indent string to four spaces) send "prettyPrint".

Notes
(0013466)
gherolyants   
01-12-10 12:54   
Sorry, forgot to mention. The number of passed/failures/errors in tests from XML-Testing package is the same before and after change.