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 8154 - Make it clear that serving polyglot documents as text/html is OK
Summary: Make it clear that serving polyglot documents as text/html is OK
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC Linux
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords: NE
Depends on:
Blocks:
 
Reported: 2009-11-03 04:05 UTC by Sam Ruby
Modified: 2010-10-04 13:58 UTC (History)
7 users (show)

See Also:


Attachments

Description Sam Ruby 2009-11-03 04:05:51 UTC
From the current draft: "XML documents that use elements or attributes from the HTML namespace and that are served over the wire (e.g. by HTTP) must be sent using an XML MIME type such as application/xml or application/xhtml+xml and must not be served as text/html. [RFC3023]"

This makes it appear that serving polyglot documents as text/html is not allowed.  I don't believe that's the intent.  Perhaps the sentence should be struck.  Perhaps the intent it so reinforce the idea that comforming HTML5 user agents will process polyglot documents which are served as text/html by HTML5 parsing rules as opposed to XML parsing rules.  Either way, this needs to be clarified.
Comment 1 Ian 'Hixie' Hickson 2010-01-05 00:15:57 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments.
Comment 2 contributor 2010-01-05 00:16:52 UTC
Checked in as WHATWG revision r4459.
Check-in comment: Remove text that barred HTML source code from being sent as text/plain, and other such things.
http://html5.org/tools/web-apps-tracker?from=4458&to=4459