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

Re: Suggestion: "allow extra attributes" flag

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 02 Aug 2001 21:24:53 +0200
To: Bryce Nesbitt <bryce@obviously.com>
Cc: www-validator@w3.org
Message-ID: <ln7jmt0v3lkcclnhve32b4f0uridbn12e9@4ax.com>
* Bryce Nesbitt wrote:
>It's really common to include extra attributes in a web page,
>for assorted browser-compatibility reasons.

You _reduce_ browser compatibility by using proprietary markup.

>The extra tags
>are ignored by browsers that don't understand, and everyone is happy.

Not possible, since the user agent doesn't know anything about the
content model of the unknown elements it cannot parse the document.

>Except the validator.

No, it validates your document against your given/selected document
type definition. If you selected HTML 4.01 Strict, it will complain
about elements and attributes not defined there. If you want to use
proprietary markup, get a proprietary DTD from the entity who defined
those proprietary extensions or write your own.

>I'd like to be able to check real-world web pages, not just showcases
>to compatibility with the HTML specification.

Violations of HTML aren't from the "real world", they originate from the
illusiones world of "the page is fine, it works in both browsers"
(famous last words of document authors).
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:26:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:30 UTC