[Cubicweb] XHTML delivered as text/html

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


On Tue, Jul 21, 2009 at 12:17:15PM +0200, Aurélien Campéas wrote:
> On Tue, Jul 21, 2009 at 11:50:46AM +0200, Florent Cayré wrote:
> > Hi all,
> 
> Hi,
> 
> 
> 
> > 
> > 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 :
> > 
> 
> [snip]
> 
> > Would you mind integrate it in cubicweb ?
> 
> a similar patch is already in the upcoming 3.3.4 release ...

ok I will integrate the full patch
(cf. http://wiki.whatwg.org/wiki/HTML_vs._XHTML#Syntax)



> 
> Cheers,
> Aurélien.
> 
> > 
> > Regards,
> > Florent and Fabrice, for SecondWeb.
> 
> _______________________________________________
> Cubicweb mailing list
> Cubicweb at lists.cubicweb.org
> http://lists.cubicweb.org/mailman/listinfo/cubicweb



More information about the Cubicweb mailing list