minor bug report

The onsubmit attribute of FORM does not appear to be recognized, even when
the document is an HTML 4.0 doc on Win32 (NT 4.0 SP3).  The warning message
is:

Tidy (vers 14th April 1999) Parsing "tryform.html"
line 17 column 1 - Warning: unknown attribute "onsubmit"

Please pardon me if I have sent the report to the wrong place.
Jeff

Here is a sample file illustrating the problem:
---------------------------------  snip here ------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<HTML>
<HEAD>
<META http-equiv="Content-Script-Type" content="text/javascript"/>
<TITLE>Blah blah</TITLE>

<SCRIPT type="text/javascript">
<!--
  function validateAndSubmit(myform) {
    return true;
  }
// -->
</SCRIPT>
</HEAD>
<BODY>
<H1>Gibberish</H1><BR>
<FORM name="pwdform" onsubmit="validateAndSubmit(this)"
  action="http://localhost/foo.html"
  method="post"
>
<HR>
<P>
Zork Name: <INPUT type="text" name="Zork"><BR>
<INPUT type="button" name="Submit" value="Submit"
onclick="validateAndSubmit(this.form)">
<INPUT type="reset" name="reset">
</P>
</FORM>
</BODY>
</HTML>
--------------------------------------snip ---------------------------------
-------

Received on Friday, 23 April 1999 20:07:40 UTC