Why no ']]>' in CharData?

John Cowan cowan at locke.ccil.org
Sun Nov 28 03:23:39 GMT 1999


Don Park scripsit:

> Yes it is < in SML.  It is not the support of > that is
> expensive.  It is the fact that every conforming SML processor
> will have to make sure there is no ']]>' in content and issue
> error if there is.  This is nonsense from SML point of view.

I am suggesting that ">" be forbidden in SML character data altogether.
That way no check for "]]>" is needed at all.  In addition,
all ">"s are guaranteed to be tag terminators, which makes
for a simple inner dispatch loop.

> I would rather support full i18n over this.

The hint you asked for: not doing i18n is asking for trouble
before, during, and after the fact.  Supporting legacy *encodings*
may be unnecessary.  Failing to support the Unicode character set
is plain retrograde.

-- 
John Cowan                                   cowan at ccil.org
       I am a member of a civilization. --David Brin

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 unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe 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