cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: Mixed case parsing
Date Sat, 13 May 2000 10:52:11 GMT
"Corey Krehel" <corey@wellengaged.com> wrote:
>I am just getting started with XML/XSL/Coccon/Apache and I have run into 
>the
>following problem.  Mixed Case handlers in my XSL are being parsed as all
>lowercase, breaking, in this case, my mouseovers.
>Here is an example from my XSL:
><xsl:template match="link">
><td>
><a href="{@href}" onMouseOut="{@onMouseOut}" onMouseOver="{@onMouseOver}">
><xsl:apply-templates select="media"/>
></a></td>
></xsl:template>
>
>here is how it is parsed to the page:
><a href="/my-forums" onmouseout="MM_swapImgRestore()"
>
>onmouseover="MM_swapImage('images/navbar/delphi_nav_r2_c02','','images/navba
>r/delphi_nav_r2_c02_f2.gif',1);"><img
>      border="0" height="19" name="myforums"
>src="images/navbar/delphi_nav_r2_c02.gif" width="72"></a>
>
>Is this a bug in the parser?  Something that I am doing wrong?  Or a
>property of Coccoon or Xalan that I may have configured incorrectly?
>Thanks
>Corey


I have reproduced this. However, the HTML 4.01 specification at

http://www.w3.org/TR/html4/interact/scripts.html#adef-onmouseover

indicates that "onmouseover" is the canonical form.

Which web browser is giving you trouble? Are you sure that it's not a bug in 
your script?


________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


Mime
View raw message