W3C home > Mailing lists > Public > www-validator@w3.org > May 2004

Re: [VE][127] New Error Message Suggestion

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 24 May 2004 19:15:24 +0300 (EEST)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.58.0405241906390.16250@korppi.cs.tut.fi>

On Mon, 24 May 2004, ThN wrote:

> if i use type and not language, my jscript will not be include!

First, the validator did not require you to remove the language attribute.
Second, I don't think any browser that is capable of supporting jscript
does not support it if you add type="text/javascript" - but some browsers
may fail to recognize the content if you use any other value.
Incidentally, text/javascript is incorrect by Internet protocols (MIME
RFCs), but the Web makes its own rules. :-)

Moreover, that's not about validation. You have asked a program to verify
whether your document complies with the formal syntax that it claims to
conform to, in its <!DOCTYPE> declaration. And the validator did just
that. It takes no position to the adequacy of the syntax from some
practical standpoint. Contrary to much propaganda around, validity does
not imply that your page would be processed by browsers as you like.

> my site: www.nicklaus-net.de/zimmer.html

Did you actually try it using valid markup?

Besides, it your navigation relies on client-side scripting, the design is
poor anyway, and surely violates W3C recommendations such as WAI
guidelines. That's a _functional_ problem. So why bother with a tiny
detail like not using an attribute required by W3C DTDs, with no known
practical impact?

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Monday, 24 May 2004 12:15:27 GMT

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