W3C home > Mailing lists > Public > www-html@w3.org > April 2007

Re: [XHTML1.1] Media Types (was Error in Conformance Definition document?)

From: David Woolley <forums@david-woolley.me.uk>
Date: Mon, 02 Apr 2007 21:52:06 +0100
Message-ID: <46116CF6.1010608@david-woolley.me.uk>
To: www-html@w3.org

Lachlan Hunt wrote:

> AIUI, generally speaking, the MIME type used should be that of the host 
> language, which is determined by the root element.  While authors 
> probably shouldn't use application/xhtml+xml for such documents, there 
> is little problem in doing so because of namespaces.

This will harm content negotiation.  Consider and SVG document with some 
HTML, and an alternative, text/html document.  If the browsers 
understands the XHTML namespace, but not the SVG, it is likely to get 
the wrong variant.
Received on Monday, 2 April 2007 20:52:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:15 UTC