cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Thenot <>
Subject Re: how can i force a serialiser to generate a </close>-tag even if the body is empty ?
Date Wed, 24 Sep 2008 18:44:18 GMT
On Sep 24, 2008, at 12:01, Rainer Pruy wrote:

> This "closing tag" issue is usually related to mixing html vs. xhtml
> and browsers that are not precise with handling both.
> Probably your are using xhtml serializer while indicating a HTML doc  
> type to the browser
> (evtl. implied by providing a ".html" suffix to the url?).
> You might want to play around with combinations of serializer  
> settings and doctypes (and mime types generated or extensions  
> indicated
> to the browser). But beware, this might effect other areas of your  
> pages.....

Hmm... I'm using the XML serializer, no URL suffix and an XHTML-strict  
doctype. I'm not aware of an XHTML serializer.

       <map:serializer name="xhtml" mime-type="text/html"  
         <map:doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</ 

Basically I try to be the strictest possible to avoid triggering the  
quirks-mode of certain browsers...


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message