W3C home > Mailing lists > Public > www-validator@w3.org > October 2009

Re: outright error in error message?

From: David Dorward <david@dorward.me.uk>
Date: Fri, 30 Oct 2009 01:26:45 +0000
Cc: <www-validator@w3.org>
Message-Id: <8D099C2B-38E7-4818-AFD1-7B79010A0DAB@dorward.me.uk>
To: <magda@rna.ca>

On 29 Oct 2009, at 19:13, Magda Wojtyra wrote:
> As you can see in the code snippet, I AM using lower case for  
> “border”. So why does it think it’s in capitals?

It is a generic attempt at a suggested recovery. The feature works  
poorly and I believe it has been removed from the development version.

>  I am using <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> and  
> the element in question is an image, so a border is perfectly fine.

http://www.w3.org/TR/html4/index/attributes.html shows that the border  
attribute for img elements requires the loose (transitional) DTD. This  
sort of presentational detail is handled using stylesheets on modern  
webpages.


-- 
David Dorward
http://dorward.me.uk
Received on Friday, 30 October 2009 01:27:22 GMT

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