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

Re: Validator fails to detect invalid document

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 11 Nov 2002 22:43:25 +0000 (GMT)
To: Terje Bless <link@pobox.com>
Cc: W3C Validator <www-validator@w3.org>, Peter Favrholdt <pfavr@how.dk>
Message-ID: <Pine.LNX.4.21.0211112241050.29858-100000@dhalsim.dreamhost.com>

On Mon, 11 Nov 2002, Terje Bless wrote:
> ...
>   FEATURES
>     MINIMIZE
>       SHORTTAG
>         STARTTAG
>           EMPTY    NO  -- outlaws "<>" -- 
>           UNCLOSED NO  -- outlaws "<foo" --
>           NETENABL NO  -- outlaws "<p/text<em/more text/ nested/" --
>         ENDTAG
>           EMPTY    NO  -- outlaws "</>" -- 
>           UNCLOSED NO  -- outlaws "</foo" --
>         ATTRIB
>           DEFAULT  YES -- allows defaulted attributes --
>           OMITNAME NO  -- possibly "YES" for compat; allows "<gi attr>" --
>           VALUE    NO  -- allows unquoted attrs; "<gi att=val>" --
> ...

Why would you say NO to OMITNAME and VALUE? Both are reasonably well
supported by UAs, and used heavily by authors.

Anyway, I still have issues with making the validator lie like this. This
isn't what the spec says. The validator should be checking for compliance
to the spec; it is not a lint.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 11 November 2002 17:43:28 GMT

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