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

[Bug 17298] New: valid character range for identifiers too broad

From: <bugzilla@jessica.w3.org>
Date: Sun, 03 Jun 2012 07:40:35 +0000
To: public-html@w3.org
Message-ID: <bug-17298-2495@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17298

           Summary: valid character range for identifiers too broad
           Product: HTML WG
           Version: unspecified
          Platform: All
               URL: http://dev.w3.org/html5/spec/single-page.html#the-id-a
                    ttribute
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: julian.reschke@gmx.de
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


"3.2.3.1 The id attribute

The id attribute specifies its element's unique identifier (ID). [DOMCORE]

The value must be unique amongst all the IDs in the element's home subtree and
must contain at least one character. The value must not contain any space
characters."

This makes it essentially impossible to extend the HTML fragment identifier
syntax with new addressing schemes such as
<http://simonstl.com/articles/cssFragID.html> or with XPointer.

I understand that for now HTML5 recipients will process the identifiers as
specified, but that doesn't mean that they all should pass validation.

Proposal: exclude those characters from US-ASCII which aren't also allowed in
XML IDs (<http://www.w3.org/TR/REC-xml/#NT-Name>)

-- 
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 Tuesday, 5 June 2012 04:23:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 5 June 2012 04:23:27 GMT