Re: Validator fails to detect invalid document

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 UTC