I've found some contradiction I want to resolve.
<http://www.w3.org/MarkUp/2004/xhtml-faq#mime11state s:
I've noted "_disallowe d_ text/html" and "_must_ be sent with an
XML-related media type" here as strong requirement.
On the other hand the current XHTML 1.1 draft
<http://www.w3.org/TR/2007/WD-xhtml11-20070216/conformance.htm l#strict>
states (at the end of the section):
The previous XHTML 1.1 recommendation doesn't include this paragraph
(or what should be the MIME type at all) but the "SHOULD be labeled
with text/html" statment gives me a strong suggestion I can serve
XHTML 1.1 as text/html. Which is de facto correct?
Further in the referenced [XHTMLMIME] I see a table
<http://www.w3.org/TR/xhtml-media-types/#summarywhich suggest I
"SHOULD NOT" use text/html with XHTML 1.1 documents, but doesn't
state a strong "MUST NOT" requirement. In the "3.1. 'text/html'"
<http://www.w3.org/TR/xhtml-media-types/#text-htmlsection I don't
see any mention of XHTML 1.1.
Given the last document is the oldest I don't see a necessary
logical development:
August 2002: text/html for XHTML 1.1 is discouraged;
July 2004: text/html for XHTML 1.1 is disallowed;
February 2007: text/html for XHTML 1.1 is permitted (if not encouraged).
--
Stanimir
<http://www.w3.org/MarkUp/2004/xhtml-faq#mime11state s:
Why is it disallowed to send XHTML 1.1 documents as text/html?
>
XHTML 1.1 is pure XML, and only intended to be XML. It cannot
reliably be sent to legacy browsers. Therefore XHTML 1.1 documents
must be sent with an XML-related media type, such as
application/xhtml+xml.
>
XHTML 1.1 is pure XML, and only intended to be XML. It cannot
reliably be sent to legacy browsers. Therefore XHTML 1.1 documents
must be sent with an XML-related media type, such as
application/xhtml+xml.
XML-related media type" here as strong requirement.
On the other hand the current XHTML 1.1 draft
<http://www.w3.org/TR/2007/WD-xhtml11-20070216/conformance.htm l#strict>
states (at the end of the section):
XHTML 1.1 documents SHOULD be labeled with the Internet Media Type
text/html as defined in [RFC2854] or application/xhtml+xml as
defined in [RFC3236]. For further information on using media types
with XHTML, see the informative note [XHTMLMIME].
text/html as defined in [RFC2854] or application/xhtml+xml as
defined in [RFC3236]. For further information on using media types
with XHTML, see the informative note [XHTMLMIME].
(or what should be the MIME type at all) but the "SHOULD be labeled
with text/html" statment gives me a strong suggestion I can serve
XHTML 1.1 as text/html. Which is de facto correct?
Further in the referenced [XHTMLMIME] I see a table
<http://www.w3.org/TR/xhtml-media-types/#summarywhich suggest I
"SHOULD NOT" use text/html with XHTML 1.1 documents, but doesn't
state a strong "MUST NOT" requirement. In the "3.1. 'text/html'"
<http://www.w3.org/TR/xhtml-media-types/#text-htmlsection I don't
see any mention of XHTML 1.1.
Given the last document is the oldest I don't see a necessary
logical development:
August 2002: text/html for XHTML 1.1 is discouraged;
July 2004: text/html for XHTML 1.1 is disallowed;
February 2007: text/html for XHTML 1.1 is permitted (if not encouraged).
--
Stanimir
Comment