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 17744 - Treatment of xml:base and xml:space appears contradictory
Summary: Treatment of xml:base and xml:space appears contradictory
Status: RESOLVED WORKSFORME
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML/XHTML Compatibility Authoring Guide (ed: Eliot Graff) (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Eliot Graff
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-11 15:26 UTC by Henry S. Thompson
Modified: 2013-04-24 01:05 UTC (History)
5 users (show)

See Also:


Attachments

Description Henry S. Thompson 2012-07-11 15:26:13 UTC
Sections 1 Introduction and 5.2 Attribute-level namespaces mention
xml: attributes including xml:space and xml:base in a way which
suggests they occur in polyglot markup.  But 7.1 Disallowed Attributes
says, confusingly:

  The following attributes are not allowed in polyglot markup. These
  attributes have effects in documents parsed as XML but do not have
  effects in documents parsed as text/html. The HTML5 spec therefore
  defines them as invalid in text/html documents. [HTML5]

    xml:space
    xml:base

  Note that the xml:space and xml:base attributes are allowed on SVG
  and MathML elements.

For internal consistency, and consistency with HTML5, shouldn't this
be revised to read

  The following attributes are not allowed in polyglot markup except
  on foreign elements. These attributes have effects in documents
  parsed as XML but do not have effects in documents parsed as
  text/html outside of foreign elements. The HTML5 spec therefore
  defines them as invalid in text/html documents except on foreign
  elements. [HTML5]

    xml:space
    xml:base

Submitted on behalf of the XML Core WG
Comment 1 Eliot Graff 2013-04-24 01:05:02 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 Section 7.1 Disallowed Attributes