SML answers for SML problems

Kragen Sitaker kragen at
Sat Nov 13 21:19:17 GMT 1999

Tim Bray writes:
> Argh!  Heresy.  The single root element is one of the Good Things about
> XML.  It means that you know unambiguously when an information unit has
> ended in a way that's decoupled from the closure (or not) of the socket
> by the programmer at the other end.  -T.

But you can have comments and PIs after the end of the root element.
So the single root element doesn't really solve this problem.

One protocol I remember reading about uses ]]>]]> to separate XML
documents, since that's a sequence that can't occur inside a legal XML

<kragen at>       Kragen Sitaker     <>
The Internet stock bubble didn't burst on 1999-11-08.  Hurrah!

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list