W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998

Re: Document cleanup suggestions

From: John Cowan <cowan@locke.ccil.org>
Date: Tue, 18 Aug 1998 11:17:33 -0400
Message-ID: <35D99B0D.542975E4@locke.ccil.org>
To: DOM List <www-dom@w3.org>
keshlam@us.ibm.com wrote:

> Converting ]]> contained in CDATA into "]]]]><![CDATA[>" -- that's my
> current reading (which could be mistaken, obviously). Annoying, but not
> unreasonable; by quoting the string rather than escaping the individual
> characters, CDATA _is_ more fragile and has to be handled accordingly.

Yes.  My point was that the DOM objects CData and Text can contain
any characters, since they are essentially just dressed-up wstrings:
adding markup has to be done when writing XML files.

John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)
Received on Tuesday, 18 August 1998 11:17:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:04 UTC