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

Re: validator.w3.org not catching stale " in width-specification of table

From: Tim Luoma <luomat@peak.org>
Date: Sat, 27 Jul 2002 11:19:44 -0400
Message-ID: <3D42BA10.7080509@peak.org>
To: Erik Forsberg <forsberg@lysator.liu.se>
CC: www-validator@w3.org

Erik Forsberg wrote:

> This HTML code:
> 
> --snip--
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head>
> 	<title>Test of the validator</title></head>
> <body>
> <table border="0" cellpadding="0" cellspacing="0" width="100%>"

> ..validates with "No errors found" at validator.w3.org (except for the
> warning about character encoding).
> 
> Notice the table-tag and the fact that the second '"' is outside the
> tag. Is that really correct HTML?

Looks like a bug to me... but since attributes do not have to be quoted 
in HTML (iirc) that may be why it isn't catching it... but I don't know 
why it's not realizing there is text where there shouldn't be.

If you went to XHTML, the validator would complain ;-)

CSE Validator[*] would have caught the problem in the original file that 
the W3C validator missed.

TjL


[1] http://htmlvalidator.com/ ... just another happy customer....
Received on Saturday, 27 July 2002 11:19:57 GMT

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