This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: JavaScript error in CDATA section: IE specific


[Original Message: I'm wondering if someone has experienced a problem with
IE, where a
character in a CDATA section is returned as an entity reference????]

[Reply: 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.]

[Reply-to-reply: You are probably right, and I am far from being qualified
to answer your initial question/remark.  However, I found that if I
represented the character with "char(60)," my JavaScript worked properly on
the client.  Probably common sense to a lot of you, but maybe it will help
some of the newbies, like myself :)  Thanks for all the replies.]


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]