W3C home > Mailing lists > Public > public-xml-id@w3.org > November 2004

4. ID assignment and the empty string

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 18 Nov 2004 14:04:12 +0000 (UTC)
To: public-xml-id@w3.org
Message-ID: <Pine.LNX.4.61.0411181403120.24630@dhalsim.dreamhost.com>

|   2. ID assignment is performed.

It should be stated explicitly that the value used for ID assignment
is the normalised value obtained in the previous step.

Also, should the following:


...be special-cased in the spec? At the moment a strict reading of the
spec leads me to believe that such an attribute would make the element
have an ID consisting of the empty string, which would thus be found
by using, e.g.:


I would assume that much software has been written with the assumption
that the empty string implies the lack of an ID. I would recommend
changing step 2 of the processing section to read:

   2. If this normalised value is not the empty string, ID assignment
      is performed using the normalised attribute as the ID.

This would take care of both these comments.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 18 November 2004 14:04:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:53:49 UTC