Alexander Schatten wrote:

> I use Cocoon 2 to produce HTML. I use the HMTL serializer, but have to 
> detect, that the output is *not* HTML as expected, but XHTML, which 
> makes several problems, e.g. with Mozilla.


I use HTML serializer and it outputs HTML. This can be confirmed by W3C 
validator service. Serializer config looks like:

      <map:serializer name="html"   mime-type="text/html"        
src="org.apache.cocoon.serialization.HTMLSerializer">
        <buffer-size>1024</buffer-size>
        <indent>no</indent>
        <omit-xml-declaration>yes</omit-xml-declaration>
        <doctype-public>-//W3C//DTD HTML 4.01 
Transitional//EN</doctype-public>
        
<doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>
      </map:serializer>


Vadim


> is this a bug or a feature?
>
>
> thank you
>
>
> alex





---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to