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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SGML, XML and SML

[ Lists Home | Date Index | Thread Index ]
  • From: "Michael Champion" <Mike.Champion@softwareag-usa.com>
  • To: <xml-dev@ic.ac.uk>
  • Date: Mon, 22 Nov 1999 18:38:48 -0500


----- Original Message -----
From: Kragen Sitaker <kragen@pobox.com>
To: <xml-dev@ic.ac.uk>
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
here?)




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