[Bug 17744] New: Treatment of xml:base and xml:space appears contradictory

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17744

           Summary: Treatment of xml:base and xml:space appears
                    contradictory
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML/XHTML Compatibility Authoring Guide (ed: Eliot
                    Graff)
        AssignedTo: eliotgra@microsoft.com
        ReportedBy: ht@inf.ed.ac.uk
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, eliotgra@microsoft.com


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

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 11 July 2012 15:26:19 UTC