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

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 the QA contact for the bug.

Received on Sunday, 3 June 2012 07:40:35 UTC