[Zope] prevent quoting in tal:attributes

Dieter Maurer dieter at handshake.de
Mon Sep 15 17:22:04 EDT 2003


Chris Withers wrote at 2003-9-15 14:22 +0100:
 > Dieter Maurer wrote:
 > ...
 > > TAL poses a problem when the attribute contains character or
 > > entity references (such as Ä). "tal:attributes" quotes
 > > them as "Ä" which is not the same as "Ä".
 > 
 > Does structure not work here?
 > 
 > <x tal:attributes="structure name string:&Auml;"/>

It does not, neither in the form "structure name expr" nor
in the (more correct) form "name structure expr".

Both give "bad variable name exceptions".


Dieter



More information about the Zope mailing list