Re: text/html for xml extensions of XHTML

Currently, W3C has a very clear position on this. One of the items in
its "Common User Agent Problems" is that a valid MIME type should take
precedence over anything else (no sniffing of the content, etc), i.e.,
A document served as text/xml -> xml parser
A document served as text/html -> html parser

This is recorded in the Mozilla's bug tracking system:
W3C CUAP: Respect Content-Type HTTP header

With such a clear position, there hasn't be much motivation at looking at
the bug that I filed, requesting to use the file extension as a clue (it
is also easier to implement).

Received on Tuesday, 1 May 2001 03:26:52 UTC