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

Validator not checking for default scripting language information when an intrinsic event script is present.

From: Marek Rudnicki <eaglebearer@hotmail.com>
Date: Sat, 29 Sep 2001 15:47:49 -0400 (EDT)
To: <www-validator@w3.org>
Message-ID: <OE45OkkD5p0ZDR0cTc100006a66@hotmail.com>
Hi there,
I think I found a requirement that is not checked by the validator.  In http://www.w3.org/TR/html401/interact/scripts.html#default-script it says in 18.2.2:

"Documents that do not specify default scripting language information and that contain elements that specify an intrinsic event script are incorrect. "

I have tested the following HTML document which does specify an intrinsic event script but does not specify the default scripting language:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1252">
<META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
<TITLE>GRR: Report Basic Info</TITLE>
<LINK REL=StyleSheet TYPE="text/css" HREF="GRR.css">
</HEAD>
<BODY>

   <P class="SubFormTitle">Basic Info</P>
   <FORM class="Left" action="/grr/session" method="POST">
 <DIV>
      <INPUT type="hidden" name="from_page" value="rpt_def_basic_info">
      <INPUT type="hidden" name="to_page" value="unknown">
      <INPUT type="hidden" name="sessionID" value="GRRU">
   </DIV>
      <P><INPUT type="text" name="rptName" value="VaRCE_All_P" onclick="document.write('OK.')"></P>
   </FORM>
</BODY>
</HTML>

It was deemed valid both for transitional and strict versions.

Cheers,
Marek
Received on Monday, 1 October 2001 04:12:59 GMT

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