[Twisted-web] Radio button checked error at nevow._flat.FlattenerError
Jean-Paul Calderone
exarkun at divmod.com
Thu Jul 16 15:09:57 EDT 2009
On Thu, 16 Jul 2009 15:04:06 -0300, Juanjo Conti <jjconti at gmail.com> wrote:
>I founded out that if I have <input type="radio" name="consignas"
>value="1" checked /> in my HTML I get this error:
><class 'nevow._flat.FlattenerError'>:
>/home/juanjo/python/twisted/teco/ter.html:21:63: not well-formed
>(invalid token)
>
><input type="radio" name="consignas" value="1" checked="checked" />
>fix it an works fine.
<input checked> is HTML. Most of Nevow expects XHTML. So you need the
XHTML spelling, as you discovered.
Jean-Paul
More information about the Twisted-web
mailing list