W3C home > Mailing lists > Public > www-style@w3.org > May 2002

Re: Fragment identifiers and 'ID' attribute values: case matters

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 26 May 2002 04:11:44 +0200
To: "Etan Wexler" <ewexler@stickdog.com>
Cc: www-style@w3.org
Message-ID: <u1f0fus901s8li7onb24jkb89ji8hh5bcl@4ax.com>
* Etan Wexler wrote:
>HTML4 has an SGML declaration that specifies that names fold to upper 
>case.  Consequently, an 'ID' attribute value specification of "AnElement" 
>produces the attribute value "ANELEMENT".  Consequently, the correct 
>fragment identifier in a URI reference for an element with that 'ID' 
>attribute value specification is "#ANELEMENT", not "#AnElement".

No, please see http://www.w3.org/TR/html4/struct/links.html#h-12.2.1

[...]
  * String matching: Comparisons between fragment identifiers and
    anchor names must be done by exact (case-sensitive) match.
[...]

Maybe you like to refer to

  http://www.w3.org/2002/02/mid/20010706174702X.mimasa@w3.mag.keio.ac.jp

for additional information on this contradiction in the specification.
Received on Saturday, 25 May 2002 22:12:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:14 GMT