Re: HTML ID case question

From: "Terje Bless" <>
> Valid HTML that is labelled Invalid by the Validator
> is a Very Very Bad Thing.

The HTML in question is invalid and the validator correctly says so.

> I would suggest a note to the effect that "This makes no sense whatsoever;
> don't worry about it or you'll get a migraine" in relevant parts of the
> spec; if it isn't possible to disambiguate the rules in a proper fashion.

Actually it does make sense, as Jonny pointed out. It was a very reasonable
solution to a sticky problem: two non-interoperating browsers, neither of
whom were willing to be declared broken. The specification as it is now
means that both browsers work identically on conforming documents. In brief
the spec says: IDs are case-sensitive, but you are not allowed to write a
document that depends on it.

It is not the perfect solution in an ideal world, but in the world we have
inherited, it is an elegant solution for a sticky problem.

Best wishes,

Steven Pemberton
Chair, HTML WG

Received on Thursday, 12 July 2001 07:20:47 UTC