W3C validator does NOT pick this up (DTD/validator limitation), but it IS in HTML 4.01 Spec,
http://w3.org/TR/html401/interact/scripts.html#h-18.2.2.1
Validome HTML/ XHTML ... validator, access 13/11:
"
The Document is not valid
XHTML 1.0 Strict
...
Line: 89, Column: 357
Error: When using embedded events (Event-Handler), script language must be
specified within Meta-Tag
(z.B. <meta http-equiv="Content-Script-Type" content="text/javascript" />)
or HTTP-Header (Content-Script-Type: text/javascript)
Error Position:
lect id="chooselang_jump" name="jump" onchange="self.location=document.getEl
"
TODO: Also, 8 warnings "The Link "#" points to a not existing Anchor." - where?
(OU Bug 4121)
@header('Content-Script-Type: text/javascript');
@header('Content-Style-Type: text/css');
Also fixes inline styles "14.2.1 Setting the default style sheet language",
http://www.w3.org/TR/html401/present/styles.html#h-14.2.1
Fixed on HEAD and 1.9 branch, tagged MERGED.