This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9707 - Obsolete permitted DOCTYPE strings: which MIME-type?
Summary: Obsolete permitted DOCTYPE strings: which MIME-type?
Status: VERIFIED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 09:44 UTC by Andreas Kuckartz
Modified: 2010-10-09 14:51 UTC (History)
4 users (show)

See Also:


Attachments

Description Andreas Kuckartz 2010-05-11 09:44:21 UTC
Section 10.1.1 "obsolete permitted DOCTYPE" strings.

It is not explicitely stated which MIME-types can or should be used for these obsolete permitted doctypes.

For example: I guess that it is not allowed to use MIME-type text/html with the doctype string for XHTML 1.0 Strict. Correct?
Comment 1 Lachlan Hunt 2010-05-11 10:59:44 UTC
The MIME type to use doesn't depend on the DOCTYPE.  It depends on whether the document is to be treated as HTML or XHTML.

Technically, if you're using XHTML 1.0, then you should use an XML MIME type.  Though, if you use text/html, like most people do, then the document will be treated as HTML.

This is not a bug in the spec, resolving invalid.