[Bug 5489] Incorrect Mimetype warning

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5489


ot@w3.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         OS/Version|Windows 3.1                 |All
           Platform|PC                          |All
         Resolution|                            |INVALID
   Target Milestone|0.8.3                       |---




------- Comment #1 from ot@w3.org  2008-02-19 00:50 -------
This has been discussed many times on the www-validator mailing-list and here
on the bugzilla, so I will just summarize:

* If you want to server XHTML as text/html to legacy user agents, you should be
using XHTML 1.0, which has HTML compatibility guidelines precisely for that.

* If for some reason you really want to use XHTML 1.1, then make your php
script send application/xhtml+xml as a *default*, not the other way around. It
will still be against the specifications, but less often.

* If for some reason you really really want to serve XHTML 1.1 as text/html by
default, live with the fact that the validator tells you off for it. It's just
a warning. And if you can't stand it, there's always
http://validator.w3.org/docs/users.html#option-accept

Received on Tuesday, 19 February 2008 00:50:10 UTC