[ZPT] Attribute case confuses TAL

Dieter Maurer dieter@handshake.de
Wed, 31 Jul 2002 23:59:44 +0200


Jean Jordaan writes:
 > This TAL code::
 > 
 >   <a href="target"
 >      onMouseOver="triggerTabBar('p7topmenu1')"
 >      tal:attributes="href menu/url; 
 >                      onMouseOver string:triggerTabBar('${menu_id}')"
 >      tal:content="menu/title">TITLE</a>
 > 
 > generates this HTML::
 > 
 >   <a href="main.html"
 >      onMouseOver="triggerTabBar('p7topmenu1')"
 >      onmouseover="triggerTabBar('p7topmenu5')">Main</a>
 > 
 > This leaves most browsers pretty nonplussed (Opera figures it out
 > somehow). 
Use all lowercase attribute names (as suggested by XHTML).


Dieter