On Tue, 23 Mar 2004, Steve Krulewitz wrote:

> Using this technique, the textarea does render properly on Firefox 0.8
> *only* when the pages are served with the "application/xhtml+xml"
> content type.  As soon as I changed the content type to "text/html", I
> got the incorrectly rendered textarea.  This is the test document I'm using:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml";>
> <head>
> <title>title</title>
> </head>
> <body>
> <form action="">
> <textarea name="ta" rows="10" cols="10" />
> </form>
> </body>
> </html>
>
> And the HTTP headers:
>
> HTTP/1.x 200 OK
> X-Cocoon-Version: 2.1.4
> Last-Modified: Tue, 23 Mar 2004 14:58:55 GMT
> Content-Type: application/xhtml+xml; charset=utf-8
> Content-Length: 338
> Date: Tue, 23 Mar 2004 15:06:47 GMT

Hmmm, when I try setting the mime type to application/xhtml+xml,
mozilla and firefox both render as XML instead of XHTML.  I see the
same HTTP headers you do.  Is there a trick to tell Mozilla to
render as XHTML?

-- 
JP



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

Reply via email to