W3C home > Mailing lists > Public > www-validator@w3.org > August 2010

Re: Check existence of class names

From: <chukharev@mail.ru>
Date: Sun, 15 Aug 2010 23:29:45 +0300
To: "Philip Taylor (Webmaster, Ret'd)" <P.Taylor@rhul.ac.uk>
Message-ID: <op.vhhxvvx9mhpy7y@vova-vaio>
On Sun, 15 Aug 2010 23:10:19 +0300, Philip Taylor (Webmaster, Ret'd) <P.Taylor@rhul.ac.uk> wrote:

>
>
> chukharev@mail.ru wrote:
>
>  > All developers whom I know in person, make typing errors. Therefore, I
>  > consider wrong names as errors, and I appreciate any help in finding them.
>  > YMMV, of course.
>
> But can you offer an algorithm by which a validator (or any
> other piece of software) might identify a mis-spelled class name ?
> As there is no syntax that allows a page author to identify
> the set of class names that he/she intends to use, against
> what should the validator (or etc) compare a putative class
> name in order to decide whether it is correct or incorrect ?

What I was thinking about is just notifying every use of a class name
which has no definition. Similarly, I would appreciate notifying
every defined but unused class name. Then I can decide myself if
these are errors of plans for future/whatsoever.

> Philip Taylor
>


-- 
Vladimir Chukharev
Tampere University of Technology
Received on Monday, 16 August 2010 13:37:44 GMT

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