XML whitespace

Liam R. E. Quin liamquin at interlog.com
Tue Jul 20 01:24:20 BST 1999

On Mon, 19 Jul 1999, Randy Bryan wrote:
> The XML specification doesn't allow
> for whitespace in several places.

This is because it is a derivative of SGML, which is a delimiter-based
language, not a token-based one.

Another way to look at it is that the </ in an end tag is a single
token, although </ this> is not a legal example, so that isn't really
as helpful as one might like.

In writing our book on XML, Ian and I did no better, I think, than
suggesting that readers simply learn the rules :-(

Lee (co-author, The XML Specification Guide, Wiley)

Liam Quin, Barefoot Computing, Toronto;  The barefoot agitator
l i a m q u i n     at    i n t e r l o g    dot   c o m
Ankh on irc.sorcery.net, ankle5/Ankle{MD} on DALnet

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

More information about the Xml-dev mailing list