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

Re: set_parse_mode() and triggering W08

From: Nikita The Spider The Spider <nikitathespider@gmail.com>
Date: Mon, 30 Jul 2007 08:27:13 -0400
Message-ID: <35e76ac10707300527v7307fb4bndca17d5769b9d9b8@mail.gmail.com>
To: "olivier Thereaux" <ot@w3.org>
Cc: "www-validator Community" <www-validator@w3.org>

On 7/29/07, olivier Thereaux <ot@w3.org> wrote:
> Hello,
>
> On Jul 27, 2007, at 05:45 , Nikita The Spider The Spider wrote:
> >
> > I'm trying to understand the conditions under which the validator will
> > generate certain warnings. The function set_parse_mode() in check can
> > trigger warnings W06 and W08 which are similar. I can trigger W06 by
> > validating a document that meets these conditions:
> > - Mime type = text/html
> > - Doctype either absent or FPI not in the validator's catalog
> > - No XML declaration.
> >
> > Looking at the check script, I *thought* this would trigger W08 via
> > the test on line 1979.
>
> Indeed, it looks like a bug in that test. However, the fact is that
> W06 now "includes" W08 in a way, and has a better explanation. Taking
> a bit of distance from the code, I can't really find a reason to keep
> W08 any longer, do you?
>
> http://dev.w3.org/cvsweb/validator/share/templates/en_US/warnings.tmpl

Thanks for the sanity check. I agree with you; having both is
unnecessary and W06 is the better of the two. Even if I'm wrong and
W08 can get triggered somehow (via direct input mode, for instance)
then it should be replaced with W06.

-- 
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more
Received on Monday, 30 July 2007 12:27:30 GMT

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