On Mon, 22 Mar 2004, Steve Krulewitz wrote:

> First of all, you need to  specify an XHTML doctype and use the XHTML
> namespace for the xhtml elements in your document.  You also need to
> send the "application/xhtml+xml" content type with your response.  But
> here is the problem -- Internet Explorer does not like this, and will
>
> ...
>
> <map:serializer
>    name="xhtml-ie"
>    mime-type="text/html; charset=utf-8"
>    src="org.apache.cocoon.serialization.XMLSerializer"
>  >
>    <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>
>
> <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system>
>    <encoding>UTF-8</encoding>
>    <indent>yes</indent>
> </map:serializer>
>
> ...
>
> Is this on par with other people's experience dealing with this problem?

I see two problem.

* This will not solve the problem in Mozilla.  Even with
  properly declared doctype and a valid document, Mozilla
  will render <textarea/> incorrectly.  Its a bug in Mozilla.  I
  didn't check to see if its in Mozilla's bug database.

* I've run into a problem with the cocoon serializer not
  respecting content type UTF-8.  I've only been able to get
  ISO Latin to work.  See:

    http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26997

-- 
JP



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

Reply via email to