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  

David Dorward
Received on Friday, 30 October 2009 01:27:22 UTC

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