RE: Formatting output

"Michael Kay" <[email protected]>
Newsgroups gmane.comp.java.jdom.general
Message-ID <000001c77972$ce6fbb10$6401a8c0@turtle>
> Empirical evidence demonstrates SAX parsers do not return 
> whitespace outside the root element.  JDOM would error out if 
> any did.  Do you think any might start to report such 
> whitespace?  I'd prefer if a JDOM document built via SAX 
> could capture that whitespace to be able to round trip more reliably.

It's very unlikely that a SAX parser would generate such events, but other
sources of SAX events - for example an XSLT transformation run using JAXP
interfaces - might well do so.

Michael Kay
http://www.saxonica.com/

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.