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


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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:02 UTC