The line:
<? XML ... ?>
does not place a newline following it even when prettyprint is true.
 
I notice that PI itself does not implement Printable, and there is no test like
if (prettyprint && (this instanceof Printable))
    out.write('\n');
 
above the while loop that handles all the children. 
 
I tried making those changes.  Appears that those changes didn't help.
 
Any thoughts?
 
Jack Park

Reply via email to