W3C home > Mailing lists > Public > www-html@w3.org > November 2003

Re: Scripting DTD's

From: David Woolley <david@djwhome.demon.co.uk>
Date: Sat, 15 Nov 2003 14:34:16 +0000 (GMT)
Message-Id: <200311151434.hAFEYGM03989@djwhome.demon.co.uk>
To: www-html@w3.org

> I just did a sweep of a few commercial web sites, and the few that had 
> scripts all used JavaScript.

You have failed to understand the distinction between the popular use of
"Javascript" and the strict use of ECMAScript.  You will also find that
most of those pages are targetted at IE, which avoids the Netscape term
JavaScript, and that they fail to specify the scripting languages in
the places that HTML requires that it be specified (type on script elements
and in a meta element if it is used in onxxx attributes anywhere).

As popularly used, "JavaScript", and "VBScript" share a common document
and browser object model (for any given browser), and it is those object
models that people are really interested in, not the scripting language
(ECMAScript or VBScript) used to manipulate them.

Your failure to find ECMAScript just reflects the wide level of ignorance
amongst web page authors, but that your HTML email attachment won't validate
and nor will many of the corporate home pages of W3C members should have
already told you that.  (Please only use plain text email.)

This is not the first thread I have seen recently where people seem to
think that ECMAScript is a complete replacement browser automation object
model.  It is not.  It doesn't specify document or browser aspects at all.
Received on Saturday, 15 November 2003 09:34:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:06 UTC