W3C home > Mailing lists > Public > public-html@w3.org > July 2012

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 11 Jul 2012 15:26:20 +0000
To: public-html@w3.org
Message-ID: <bug-17744-2495@http.www.w3.org/Bugs/Public/>
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 on the CC list for the bug.
Received on Friday, 13 July 2012 11:15:10 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:33 UTC