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

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 UTC