Bug in htmlchek(.awk) on tables (</TR>)?

-----BEGIN PGP SIGNED MESSAGE-----

Hello there!

I'm having problems with the following piece of HTML, when running
it through htmlchek (v4.1) on MSDOS 5.0 with GNU AWK 2.15:

=====
<html>
<head>
<link rev="made" href="mailto:mortenf@login.dknet.dk">
<title>Table error in htmlchek.aww?</title>
</head>
<body>
<h1>Table error in htmlchek.aww?</h1>
<table border align="center"><tr>
<td><a href="#sports">Sports</a></td>
<td><a href="#info">Information</a></td>
</tr><tr>
<td><a href="#music">Music</a></td>
<td><a href="#other">Miscellaneous</a></td>
</tr></table>
<p><a name="sports">Sports</a>
<a name="info">Info</a>
<a name="music">Music</a>
<a name="other">Misc</a></p>
</body>
</html>
=====

The errors go like this:

=====
Improper nesting ERROR! at line 11 of file "table.tst": /TABLE expected, /TR found
Improper nesting ERROR! at line 14 of file "table.tst": /BODY expected, /TR found
Improper nesting ERROR! at line 14 of file "table.tst": /HTML expected, /TABLE found
Extraneous /BODY tag without preceding BODY tag ERROR! at line 19 of file "table.tst", Ignoring
Extraneous /HTML tag without preceding HTML tag ERROR! at line 20 of file "table.tst", Ignoring
Pending unresolved <x> without </x> ERROR! of level 1 at END of file "table.tst" on tag HTML
Pending unresolved <x> without </x> ERROR! of level 1 at END of file "table.tst" on tag BODY
=====

There are no errors shown, if I omit the two </TR>s.
According to what I've read, and to the contents of the htmlchek.awk
file, </TR> should be optional, not forbidden.
I've set htmlchek up to validate as HTML 3.0, and the only other thing
I've changed, is making <p>...</p> only a container, no single
<p> allowed.

Did I screw up somewhere, or is somebody else able to duplicate this?
Thanks.

 Morten Frederiksen
~~~~~~~~~~~~~~~~~~~~

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBMH28cpHJIQHjyeydAQEMmAP+ITYhiok1Kypa4Wd+PPe70t73oTeBaTGM
cQQzbaqbNheD1vdgVkZyQK+g8QuSr7IR8IWtiEcBx8TqeuaN8n0iK19SHTKTKXNX
ZCV9mUJROvhdk51RsnWTXDx2jLEQo+JbboRMNwxMM7BdGIuYzKxmV/ZeuiOo1u/9
XUb42ME+f5w=
=WEl4
-----END PGP SIGNATURE-----

--- 
The mind is a terrible thing to taste.
-- 
Finger mortenf@login.dknet.dk for GeekCode 3.1

Received on Thursday, 12 October 1995 20:22:19 UTC