OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: SML answers for SML problems

[ Lists Home | Date Index | Thread Index ]
  • From: kragen@pobox.com (Kragen Sitaker)
  • To: xml-dev@ic.ac.uk
  • Date: Sat, 13 Nov 1999 16:19:39 -0500 (EST)

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@pobox.com>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS