Re: Scripting DTD's

> 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