Michael Champion Mike.Champion at
Mon Nov 22 23:46:17 GMT 1999

----- Original Message -----
From: Kragen Sitaker <kragen at>
To: <xml-dev at>
Sent: Monday, November 22, 1999 4:54 PM
Subject: Re: SGML, XML and SML

> I think it would be very nice, from a processing point of view, to have
> an XML variant that didn't have CDATA sections or DTDs (although entity
> definitions are useful!).  I suspect CDATA sections are hard to live
> without if you're writing XML documents about HTML or XML, though.

I've agonized about this a bit.  Clearly SML needs some escape mechanism so
that this can be done. I presume it will be dear old &lt; and &gt;  But so
long as *tools* make it easy to insert a block of XML or HTML and will do
the grunt work of the escaping, I'm not at all convinced that this needs to
be supported with CDATA sections in the language itself.

Also, for that matter, one might argue that SML does not need CDATA sections
because it has no notion of validity, or even a distinction between CDATA
and PCDATA elements.  So long as the XML or HTML document being "quoted" is
well formed, it can go inside any SML tag pair.  (Or am I missing something

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