Re: Suggestion: Check elment first, attribute second

From: Bjoern Hoehrmann (derhoermi@gmx.net)
Date: Thu, Aug 02 2001

  • Next message: Bjoern Hoehrmann: "Re: Suggestion: Check elment first, attribute second"

    From: Bjoern Hoehrmann <derhoermi@gmx.net>
    To: Bryce Nesbitt <bryce@obviously.com>
    Cc: www-validator@w3.org
    Date: Thu, 02 Aug 2001 21:24:57 +0200
    Message-ID: <g68jmt0ta5jtkmc91qohucenempfpbgfpc@4ax.com>
    Subject: Re: Suggestion: Check elment first, attribute second
    
    * Bryce Nesbitt wrote:
    >The validator first checks attributes, then the element.  This means if I do something
    >like:
    >
    >	<csobj w="208" h="77" t="Button">
    >
    >I get a long series of complaints about each attribute ("w", "h", "t") before
    >I find that the validator actually does not understand the <csobj>.  An
    >improvement would be to check the element FIRST, and give just one error message.
    
    You should improve your page with a proper document type declaration if
    you want to use proprietary markup, then you'll get no errors, either
    for elements or attributes. But that's no HTML anymore...
    -- 
    Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
    am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
    25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/