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 12517 - from the wording here, it sounds like this whole 3.2.3.4 section belongs in the XML spec not the HTML spec. so why is it here if I must not use it in HTML documents? This /is/ an HTML spec after all...
Summary: from the wording here, it sounds like this whole 3.2.3.4 section belongs in t...
Status: RESOLVED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-18 06:39 UTC by contributor
Modified: 2011-08-04 05:34 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2011-04-18 06:39:39 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#the-xml:base-attribute-(xml-only)

Comment:
from the wording here, it sounds like this whole 3.2.3.4 section belongs in
the XML spec not the HTML spec.  so why is it here if I must not use it in
HTML documents?  This /is/ an HTML spec after all...

Posted from: 71.56.141.103
User agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0
Comment 1 Tab Atkins Jr. 2011-04-18 16:25:22 UTC
XHTML is a serialization format for HTML, thus, the parsing of XML documents must be specified by HTML.
Comment 2 Aryeh Gregor 2011-04-18 16:36:27 UTC
"HTML documents" means documents that were, for instance, created from pages served as text/html, as opposed to "XHTML documents".  The requirement means that xml:base can only be used in XHTML documents, not (non-XML) HTML documents.  It needs to be in the HTML spec because otherwise it would be invalid as XHTML, since anything not mentioned in the spec is invalid.

The confusing thing here is that "HTML" can mean both "the abstract HTML language, which has both XML and non-XML serializations" and "the pre-XML serialization of HTML, as specified in the chapter 'The HTML syntax'".  "HTML documents" here means the latter, not the former.  But the HTML specification covers HTML in the former sense, including XHTML.
Comment 3 Michael[tm] Smith 2011-08-04 05:34:56 UTC
mass-move component to LC1