W3C home > Mailing lists > Public > www-validator@w3.org > August 2001

Re: Suggestion: Check elment first, attribute second

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 02 Aug 2001 21:24:57 +0200
To: Bryce Nesbitt <bryce@obviously.com>
Cc: www-validator@w3.org
Message-ID: <g68jmt0ta5jtkmc91qohucenempfpbgfpc@4ax.com>
* 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/
Received on Thursday, 2 August 2001 15:25:35 GMT

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