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">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1252">
<TITLE>GRR: Report Basic Info</TITLE>
<LINK REL=StyleSheet TYPE="text/css" HREF="GRR.css">

   <P class="SubFormTitle">Basic Info</P>
   <FORM class="Left" action="/grr/session" method="POST">
      <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">
      <P><INPUT type="text" name="rptName" value="VaRCE_All_P" onclick="document.write('OK.')"></P>

It was deemed valid both for transitional and strict versions.

Received on Monday, 1 October 2001 04:12:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:31 UTC