Subject: Re: [xsl] Fw: <script> tag From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 1 Oct 2001 18:56:28 +0100 |
> I for one would not call this a bug in xalan, IMHO >< should be > converted to <> for js. No. If you put <> into a script element in an XML file then the file will be rejected by the XML parser (as its not well formed) so in particular the content of the element will never be passed to the javascript engine. It is different in HTML, HTML's script is declared to be CDATA which means that , is not special to the SGML parser. But XML does not have CDATA elements so in XHTML (or any other XML language, eg SVG) you have to quote < using < or CDATA. If the XSLT system is producing non well formed XML then it is a bug (even if you would not call it so:-) 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] Entities: The worst of bo, David Carlisle | Date | Re: [xsl] Fw: <script> tag, Thomas B. Passin |
Month |