Alexander Schatten wrote:
> Vadim Gritsenko wrote:
>
>> 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>
>>
>>
>
> well, thank you for your configuration: I have edited the sitemap so
> to precisely your settings, but the result still has XML header and IS
> xhtl.
>
> e.g. <a name="nnn" />
Hm. XML:
<a name="test"/>Here will be some links
HTML:
<a name="test"></a>Here will be some links
Works Ok for me.
Vadim
> whats wrong?
>
>
> alex
>
>
> p.s.:btw: the same thing under Windows XP and Linux
---------------------------------------------------------------------
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]>