W3C home > Mailing lists > Public > www-validator@w3.org > March 2002

Re: validator allows border="none" on IMG

From: Terje Bless <link@pobox.com>
Date: Thu, 14 Mar 2002 07:44:33 +0100
To: "Phillip M. Stewart" <pms@codenet.net>
cc: W3C Validator <www-validator@w3.org>
Message-ID: <20020314074526-f01050001-10E0CDD0-3717-11D6-B1A9-00039300CF5C-1013-010c@192.168.1.7>
Phillip M. Stewart <pms@codenet.net> wrote:

>I noticed that a friend of mine's website validates as XHTML 1.O
>Transitional, but he uses border="none" on images. [...]
>
>I'm guessing this is a bug in the validator, but please correct me if 
>I'm wrong.

You're not wrong, per se, but you're not quite right either. The issue is
that the validator for various reasons does not check the value of
attributes (apart from some very basic stuff). It will at some point in the
future possibly do this. In the mean time, you can use a lint of some form
in conjunction with the Validator to catch these errors.

I reccomend the included syntax checker in Bare Bones Software's most
excellent text editor BBEdit -- <URL:http://www.barebones.com/> -- which
would have cought this and is otherwise an excellent HTML editor. Mac OS
only I'm afraid, but I'm sure there are tools for other platforms which can
also get the job done.



-- 
I don't mind being thought of as a bad guy, but it /really/ annoys me to be
thought of as an *incompetent* bad guy! - J.B. Moreno <planb@newsreaders.com>
Received on Thursday, 14 March 2002 01:45:37 GMT

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