Bug 866

Summary: Change all script tags to type="text/javascript"
Product: Chameleon Reporter: Bart van den Eijnden <bartvde@osgis.nl>
Component: CoreAssignee: Paul Spencer <pspencer@dmsolutions.ca>
Status: RESOLVED FIXED    
Severity: minor CC: chameleon-dev@lists.maptools.org
Priority: P3    
Version: 1.99   
Target Milestone: 2.0 RC 1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description From 2004-11-24 08:02:14
Most script tags in Chameleon use

<script type="javascript" .... >

better (and valid HTML) would be:

<script type="text/javascript" .... >
------- Comment #1 From 2004-11-24 08:06:39 -------
What I meant is, that the current implementation does not use the required type
attribute for script tags.

Instead it uses language="javscript" most of the times.
------- Comment #2 From 2004-12-02 22:32:16 -------
I've committed a bunch of fixes related to this, I did a big search to find the
script tags and had to manually update most of them ... not sure if I got them
all, will sync cvs in the morning and search again to see if I missed any.
------- Comment #3 From 2004-12-08 20:07:00 -------
Bart, hopefully I understood correctly.  I've committed changes to every file I
could find that had a script tag.  The new tags *should* look like:

<script language="JavaScript" type="text/javascript">

hopefully this is what you intended.  Can you please test with the latest cvs
version and let me know?  Also, if you find problems, can you just go ahead and
commit the changes as you find the problems ...
------- Comment #4 From 2004-12-09 04:05:58 -------
Hi Paul,

this is correct. Language is deprecated though, but I don't see any problem with
leaving it in there.

See:
http://www.w3.org/TR/REC-html40/interact/scripts.html#edef-SCRIPT