Streaming XML

Tim Bray tbray at
Tue Feb 23 18:22:59 GMT 1999

At 10:50 AM 2/23/99 -0500, David Megginson wrote:
>Matthew Sergeant (EML) writes:
> > Still - I agree with your general point. What would be better would
> > be a stream of XML documents - like network packets - fully self
> > contained.
>Such a stream could be brain-dead, bonehead simple to construct -- for 
>example, formfeed (^L) is not allowed in XML documents, so you could
>have a UDP stream consisting of a bunch of self-identifying XML
>snippits separated by ^L -- to resync, the client just has to wait for 
>the ^L and then start reading (my example uses the two characters "^L" 
>rather than an actual formfeed to avoid screwing up mail readers):

True - and to be pedantic, ^C () is probably a better choice,
since its name is ETX, for End-of-text, and it was actually defined
for this kind of use.  It's in Unicode too, but, just like ^L, not
in XML.  -Tim

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 (un)subscribe, mailto:majordomo at the following message;
(un)subscribe 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