W3C home > Mailing lists > Public > public-html@w3.org > November 2010

[Bug 11427] New: should allow use of xml:id for XHTML5

From: <bugzilla@jessica.w3.org>
Date: Mon, 29 Nov 2010 14:29:49 +0000
To: public-html@w3.org
Message-ID: <bug-11427-2495@http.www.w3.org/Bugs/Public/>

           Summary: should allow use of xml:id for XHTML5
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: sandals@crustytoothpaste.net
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,

Because the XML serialization of HTML5 does not require or specify a DOCTYPE
(and therefore, a DTD), generic XML processing tools have no way of determining
the proper attribute to use as an ID.  This causes problems when using e.g.
XInclude with the "element" xpointer, which uses the ID to determine the
subtree to include.  I use this currently to include relevant portions of XHTML
into an Atom feed, and it is broken with XHTML5.

Currently, the specification is silent about whether xml:id is permitted at all
and if so, what its interaction is with id.  I suggest that xml:id be permitted
and be preferred over id for the XML serialization, while being forbidden in
the HTML serialization.  Whatever the decision may be, please make it clear in
the text.

Configure bugmail: http://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 Monday, 29 November 2010 14:29:51 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:27 UTC