Subject: Re: [xsl] Fw: <script> tag From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 1 Oct 2001 17:28:57 +0100 |
> My question is: should the <script> tag mean anything for a XSLT > parser? > Is this a bug on the parser or i'm i doing something wrong? In the html output method then yes, < and & will not be escaped (because script is a CDATA element in HTML, something not possible in XML) but in the xml output method that you are using then no. the result you show is not well formed and is therefore a bug in the XSLT system you are using (not in the parser). by specifying cdata-section-elements="script" you are indicating that you would rather see <script language="javascript"><![CDATA[alert("<>")]]></script> than <script language="javascript">alert("<>")</script but you should not get <script language="javascript">alert("<>")</script> you should report this as a bug on a xalan list. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Fw: <script> tag, Goetz Bock | Thread | Re: [xsl] Fw: <script> tag, Goetz Bock |
RE: [xsl] Fw: <script> tag, Zwetselaar M. van (M | Date | RE: [xsl]: How to handle two XML so, Uronis, Jeremy |
Month |