W3C home > Mailing lists > Public > www-validator@w3.org > December 2001

BUG report for the HTML Validator

From: Brent Boyer <brentboyer@hotmail.com>
Date: Sun, 02 Dec 2001 20:37:56 -0500
To: gerald@w3.org, www-validator@w3.org
Message-ID: <F25bCdUg07MJJQ873Tl00016476@hotmail.com>
I believe that there is a bug in the html validator if you have a noscript 
element in the head element.

Consider the html page below, which yields 2 errors when I try and use the 
w3 validator (http://validator.w3.org/file-upload.html):


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd">


<html>

	<head>
		<meta http-equiv="content-language" content="en-us">
		<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">

		<title>Validator Bug</title>

		<script type="text/javascript">
			<!--
			(something will go in here later...)
			// -->
		</script>
		<noscript>
			<p>Your browser does not support JavaScript, so this page will NOT 
work!</p>
		</noscript>
	</head>

	<body></body>

</html>



If you cut out the noscript element, then it validates perfectly fine.

But I believe that it -should- validate, as I took that noscript element 
directly from the w3 html spec 
(http://www.w3.org/TR/html401/interact/scripts.html#h-18.3.1)!

Please get back to me if you can confirm this bug!  (Or let me know that I 
made a brain dead mistake...)

Thanks,

-brent boyer

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Received on Sunday, 2 December 2001 20:38:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:00 GMT