W3C home > Mailing lists > Public > www-validator@w3.org > March 2003

validator validating non valid page

From: L Rutker <lrutker@hotmail.com>
Date: Sun, 16 Mar 2003 10:46:48 -0500
To: www-validator@w3.org
Message-ID: <BAY2-F163BySsxVY60m0003261d@hotmail.com>

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"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<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");
  <form method="post" name="myForm" action="/someOtherPage.jsp">
   <input type="button" value="press" onclick="JavaScript:alertMe();" />

The new MSN 8: advanced junk mail protection and 2 months FREE*  
Received on Sunday, 16 March 2003 10:49:32 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 8 December 2021 15:25:47 UTC