W3C home > Mailing lists > Public > www-validator@w3.org > January 2007

[VE][141] Validator throws "not-unique" error on Case Sensitive IDs

From: John Lascurettes <John.Lascurettes@providence.org>
Date: Fri, 26 Jan 2007 11:43:09 -0800
To: <www-validator@w3.org>
Message-ID: <C1DF99CD.3DE6%John.Lascurettes@providence.org>

Validating http://providence.org/resources/oregon/test/john/0/id.htm
Error [141]: "ID X already defined"

This paragraph has attribute id="Unique"

This paragraph has attribute id="uNIQUE"

The Validator throws this error:
ID "UNIQUE" already defined.

Shouldn't they be considered not the same ID since the ID attribute is
defined as case sensitive
(http://www.w3.org/TR/html4/struct/global.html#adef-id)?UA's treat them that
way. Why is it an error in the Validator then?

I see nothing that explicitly says they can or cannot be the same id but
capitalized differently; whereas, that the spec says that they are
case-sensitive (http://www.w3.org/TR/html4/struct/global.html#adef-id) seems
to imply that they can match apart from the capitalization.

This message is intended for the sole use of the addressee, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee you are hereby notified that you may not use, copy, disclose, or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete this message.
Received on Friday, 26 January 2007 21:45:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:51 UTC