[Cubicweb] XHTML delivered as text/html

Aurélien Campéas aurelien.campeas at logilab.fr
Tue Jul 21 12:17:15 CEST 2009

On Tue, Jul 21, 2009 at 11:50:46AM +0200, Florent Cayré wrote:
> Hi all,


> I know people working on/ with cubicweb are aware of web standards and have
> probably read http://www.hixie.ch/advocacy/xhtml and the whole controversal
> discussion around XHTML / HTML 4.
> As of today, cubicweb delivers XHTML as text/html to user agents that do not
> support application/xml+xhtml content-type (MSIE / Konqueror for example) and
> application/xml+xhtml to the others. In that context cubicweb should implement
> the W3C guidelines defined here : http://www.w3.org/TR/xhtml1/#guidelines
> In particular, the present common.uilib.simple_sgml_tag function does not
> follow the W3C recommendations, and as you may know, leads to buggy behaviors
> in some user agents (empty textarea in Opera 10 for example). That why
> SecondWeb proposes the following patch :


> Would you mind integrate it in cubicweb ?

a similar patch is already in the upcoming 3.3.4 release ...


> Regards,
> Florent and Fabrice, for SecondWeb.

More information about the Cubicweb mailing list