W3C home > Mailing lists > Public > www-validator@w3.org > September 2003

Re: Bug Report: Invalid code validates correctly

From: Liam Quinn <liam@htmlhelp.com>
Date: Mon, 29 Sep 2003 20:43:35 -0400 (EDT)
To: Zed Pobre <zed@resonant.org>
Cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.44.0309292028470.12131-100000@localhost.localdomain>

On Mon, 29 Sep 2003, Zed Pobre wrote:

> I have found what I think is an interesting bug in the validator at
> http://validator.w3.org/.  The page at
> http://www.math.lsu.edu/valid-check.html has an error in it; it is
> missing a closing ">" on an A tag.  However, the W3C validator does
> not detect this, and declares that the page is valid.  As there is now
> an unequal count of tag openings to tag closings, I do not see how
> that could be the case.  For reference, the WDG validator will catch
> this error (if you go to http://www.math.lsu.edu/wdg-html-validator/
> and enter the valid-check URL you can see this), but only if the link
> is entered directly (it also declares the page valid if you check by
> referer).

The WDG HTML Validator labels it as a "warning" rather than an "error";  
it's valid according to SGML shorthand rules, but browsers may not handle
it correctly.

The WDG validator only provides warnings when warnings=yes is included 
in the form data, which happens normally through the "Include warnings" 
checkbox.  With a referer link, you could use

<a
href="http://www.math.lsu.edu/cgi-bin/validate.cgi?url=referer&amp;warnings=yes&amp;input=yes">WDG
Validator</a>

Kind regards,

-- 
Liam Quinn
Received on Monday, 29 September 2003 20:43:30 GMT

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