W3C home > Mailing lists > Public > www-validator@w3.org > February 2004

Re: text for error #141

From: David Dorward <david@dorward.me.uk>
Date: Tue, 3 Feb 2004 09:13:05 +0000
Message-Id: <2CAB41F6-5629-11D8-A2FB-000A957E4F00@dorward.me.uk>
To: Validator list <www-validator@w3.org>


On 3 Feb 2004, at 08:45, Ian Stuart wrote:

>
> Error 141 if for a duplicate ID. Here is my proposal for the text for
> this message:
>
> "This attribute may only appear once in any (x)html document.

This is wrong, the attribute may appear many times in a document,
but each time it must have a different value.

> If you are
> using this attribute as a stylesheet selector, re-working the code to
> use a class-based selector may be more appropriate."

Perhaps:

"An id is a unique identifier, each time this attribute is used in a 
document
it must have a different value. If you are using this attribute as a 
hock for
style sheets it may be more appropriate to use classes (which group 
elements)."

--
David Dorward
http://dorward.me.uk/
Received on Tuesday, 3 February 2004 04:13:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:10 GMT