Re: Formatting output
Jason Hunter <[email protected]>
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <[email protected]> |
Michael Kay wrote: >> Whitespace outside the root element is inconsequential in the >> XML data model. > > Which XML data model are you thinking of? > > It's consequential in XDM, because you might serialize your document and use > the resulting file as an external entity, in which case such whitespace > becomes significant. Is there an authoritative reference on this? I ask because, unless I've long been mistaken, SAX suppresses such whitespace and always has. -jh- _______________________________________________ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/[email protected]