Scripting and XML
SimonStL at classic.msn.com
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.
Dynamic HTML: A Primer
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/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev