W3C home > Mailing lists > Public > www-html@w3.org > January 2002

Re: id attribute in HTML 4.01

From: Russell O'Connor <roconnor@Math.Berkeley.EDU>
Date: Fri, 25 Jan 2002 01:23:37 -0800 (PST)
To: W3C HTML <www-html@w3.org>
Message-ID: <Pine.SOL.4.33.0201250122010.24689-100000@blue1>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 25 Jan 2002, Masayasu Ishikawa wrote:

> This is due to historical reason that the 'name' attribute was used
> for anchors, and 'name' is of type CDATA, which is case-sensitive.
> HTML 4 allowed the 'id' attribute (which is case-insensitive) as
> an another way to create an anchor and defined that the 'id' and
> 'name' attributes share the same name space.  Section 12.2.1 was
> written in order to cope with this obvious contradiction.

Ah.  This is highly unfortunate.
Of course the correct answer is to require uppercase for all fragment
identifiers.

- -- 
Russell O'Connor                           roconnor@math.berkeley.edu
           <http://www.math.berkeley.edu/~roconnor/>
``This is not a time, as it is never a time, to seek vengeance, but a
time to seek the courage to forgive'' -- George W. Bush
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (SunOS)
Comment: For info see http://www.gnupg.org

iD8DBQE8USQeuZUa0PWVyWQRAo0iAJ4tjx5fqbIPm8RwuaFTSm0GzMFsXgCfcCPi
zuemk7ptifYrodZY5SwkbbI=
=DzZ0
-----END PGP SIGNATURE-----
Received on Friday, 25 January 2002 04:23:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:50 GMT