Re: [xsl] Netscape7.1 bug or bad code?

Subject: Re: [xsl] Netscape7.1 bug or bad code?
From: N   Y <yukinz_jp@xxxxxxxxxxx>
Date: Wed, 2 Jul 2003 19:36:31 +0900 (JST)
thank you for the reply,
All,

I tried three sources(following sampleI.Ⅱ,Ⅲ).
i dont know which is the best coding....

i still wonder...
"the Script is ignored(sampleI)" is
Netscape 7.1 features or bug?


sampleI
works fine in IE5.5,IE6.0, Netscape7.02
sampleⅡ,Ⅲ
works fine in IE5.5,IE6.0,  Netcape7.02,Netscape 7.1



thank you for any hint,

Yuki N


//=====================================
sampleⅠ
<script type="text/JavaScript">
<xsl:comment>
<![CDATA[
<!--
	//the JavaScript code
-->
 ]]>
<xsl:comment>
</script>

sampleⅡ
<script type="text/JavaScript">
<![CDATA[
<!--
	//the JavaScript code
-->
 ]]>
</script>

sampleⅢ
<script type="text/JavaScript">
<![CDATA[
	//the JavaScript code
 ]]>
</script>

//=====================================


> > the JavaScript isn't ignored in  Netscape Version
> 7.02.
> 
> I don't know but maybe market forces of keeping
> users happy outweighed the
> logically correct behaviour of treating a comment as
> a comment...
> 
> 




__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/


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


Current Thread