Emmanuel Blot wrote: > Remy, any thought about dropping XHTML for HTML5?
I don't know. Can HTML5 be represented as well-formed XML? If that's the
case, I suppose it would only require a bit of tweaking in Genshi (see
below) and changing our DOCTYPE declarations.
> Could Genshi handle SVG?
Genshi can handle SVG very well, and in fact that's what I used in my
first experiment in #1492 [1]. However, if you change the MIME type from
text/html to application/xhtml+xml, Genshi changes the way it sets
certain attributes. For example, if you have:
<input type="radio" enabled="${radio_enabled}"/>
and radio_enabled is True, with text/html Genshi outputs:
<input type="radio" enabled="enabled"/>
and with application/xhtml+xml you get:
<input type="radio" enabled="True"/>
which doesn't validate anymore.
-- Remy
[1] http://trac.edgewall.org/ticket/1492#comment:30
signature.asc
Description: OpenPGP digital signature
