Bugzilla – Bug 17745
xml:base and xml:space allowed on foreign elements, but also forbidden
Last modified: 2012-09-21 10:21:23 UTC
Is it a terminology issue, or a deeper problem, that we have both
When a _foreign element_ has one of the namespaced attributes given by
the local name and namespace of the first and second cells of a row
from the following table, it must be written using the name given by
the third cell from the same row. . . xml:base . . . xml:space
[Section 188.8.131.52 Attributes, in Section 8 The HTML Syntax]
Authors must not use the xml:base attribute in _HTML documents_.
[Section 184.108.40.206 The xml:base attribute (XML only)]
That is, the former appears to allow xml:base on foreign elements,
while the latter appears to forbid it. Please clarify this in the
spec. one way or the other --- our preference would be for the xml:
attributes to be allowed on foreign elements.
Submitted on behalf of the XML Core WG
I think they should be allowed on HTML elements as well. They can be set by script, and xml:base might well be useful.
This bug was cloned to create bug 17890 as part of operation convergence.
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
Change Description: Patch applied
Rationale: adopted from WHATWG