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 11:43:05 -0800 (PST)
To: W3C HTML <www-html@w3.org>
Message-ID: <Pine.SOL.4.33.0201251134550.20881-100000@blue1>
Hash: SHA1

On Fri, 25 Jan 2002, Masayasu Ishikawa wrote:

> > Of course the correct answer is to require uppercase for all fragment
> > identifiers.
> Since (at least some of major) existing user agents at the time HTML 4.0
> was developed recognized fragment identifiers case-sensitively, that
> option was unrealistic, unfortunately.

The discussion made it sound like this confusion was a result of
differences in user agents.  The problem seems to be with the HTML
specification (er, recommendation) itself.

The DTD and delcartaion imply that IDs are case insensitive, and name
attributes are case sensitive. ... What is a poor user agent supposed to

Since IDs weren't added until HTML 4.0, it seems reasonable for a user
agent to match fragements case-senstively before HTML 4.0.  (Unless there
is something in HTML 3.2 that says otherwise).

The above is wrt HTML 4.0.  Presumably XHTML is entirely case sensitive
since the complete move to unicode.

- -- 
Russell O'Connor                           roconnor@math.berkeley.edu
``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
Version: GnuPG v1.0.6 (SunOS)
Comment: For info see http://www.gnupg.org

Received on Friday, 25 January 2002 14:43:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:58 UTC