Scripting and XML

Simon St.Laurent SimonStL at
Mon Oct 20 15:41:11 BST 1997

>All the contributors to this thread so far seem to have concentrated on
>the difficulties posed by recognising the _end_ of a CDATA content -
>while checking for a matching GI adds complexity, it is not impossible.
>But one thing that *is* impossible is for a non-validating parser to
>know that '<' followed by a name token is to be read as data, rather
>than as a start-tag.  You need to read the DTD to know the content is
>CDATA.  (Okay, you could use the rmd parameter of the XML declaration,
>but encouraging authors to do this would remove some of XML's advantages.
>One in particular being the ability to parse much of the document while
>fetching the external subset)

Thanks - that's an answer I can accept easily.  I might enjoy forcing everyone 
to write valid XML documents, but I'll try to restrain myself.

Simon St.Laurent
Dynamic HTML: A Primer

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
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