[jdom-interest] Formatting output
jhunter at servlets.com
Fri Apr 6 20:19:34 PDT 2007
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.
More information about the jdom-interest