test.html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd"
xml:lang="en">
<head><title>Test</title></head>
<body>
<script language="javascript" type="text/javascript" src="test.js"></script>
</body>
</html>
test.js:
var a = 4;
Firebug:
syntax error
var a = 4;
^
Anyone?