Re: JavaScript error in CDATA section: IE specific

Subject: Re: JavaScript error in CDATA section: IE specific
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 10 Apr 2000 12:21:13 +0100 (BST)
>I'm wondering if someone has experienced a problem with IE, where a
>character in a CDATA section is returned as an entity reference????

That sounds like the expected behaviour of any XML parser, doesn't it?
the input "<![CDATA[ < ]]>" is identical to the input " &lt; "
and when serialising the XML containing that string, a system may
use either form, seeing as they are equivalent.

Some systems, (including the DOM) do carry extra information about
strings coming from CDATA sections, but such information is explictly
not part of the input to an XSL system.

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread