validator validating non valid page

The html below was validated at validator.w3.org but shouldn't have
The self closing script tag should not be valid. The page below works with 
ie 5.5 and lower but not with IE6 or Mozilla due to the self closing first 
script tag

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
	<title>International Wach</title>
  	<link rel="stylesheet" href="/path/path/style.css" type="text/css"
/>
      <script language="JavaScript" type="text/javascript"
src="/path/path/someScript.js" />
      <script language="JavaScript" type="text/javascript">
            function alertMe(){
                alert("this is an alert");
            }
        </script>
</head>
<body>
  <form method="post" name="myForm" action="/someOtherPage.jsp">
   <input type="button" value="press" onclick="JavaScript:alertMe();" />
  </form>
</body>
</html>






_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

Received on Sunday, 16 March 2003 10:49:32 UTC