RFC: Add Version Information to Script Element

Hi,

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
element...

    <!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