Re: "<" and ">" within text nodes

Ray D. Whitmer scripsit:

> During output, a text node may encode <, >, and & as &lt;, &gt;, and &amp;.  
> This is not ad-hoc.  This is how it is done.

Agreed.

> Likewise a CDATASection may
> contain arbitrary text, and may encode "]]>" as "]]><![CDATA[>".

This can only arise if the CDATASection was created or modified by the
application, which means that two CDATASection nodes will be created
if the document is read back in.

I think you need one more "]]".

-- 
John Cowan					cowan@ccil.org
		e'osai ko sarji la lojban.

Received on Friday, 16 April 1999 16:12:48 UTC