W3C home > Mailing lists > Public > www-html@w3.org > December 2000

RFC: Add Version Information to Script Element

From: Axel Dahmen <a.dahmen@infozoom.de>
Date: Tue, 19 Dec 2000 16:01:30 -0500 (EST)
To: <www-html@w3.org>
Message-ID: <000101c069ff$02885540$0cc0a8c0@axel>

IMHO, using the "type" attribute to set both the language and the required
version number is not a clean
solution. Browser applications need to hard-code which language and version
they support from a one-dimensional
list of supported scripting languages.

Thus, I'd like to suggest to add a "version" attribute to the script

    <!ATTLIST script version CDATA -- absolute decimal number -->

...and to other elements dealing with scripting, like the meta tag:

    <meta http-equiv="Content-Script-Version" content="1.3">

This would yield much cleaner implementations of version checking.

What's your oppinion?

Axel Dahmen

Please also have a look at the (misspelled) news thread "RFC: Add Version
Information to Style Element" in "comp.infosystems.www.authoring.html".
Received on Thursday, 21 December 2000 10:00:05 UTC

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