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

Morten Frederiksen (mortenf@login.dknet.dk)
Fri, 13 Oct 1995 01:08:37 +0200


-----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:

=====
Table error in htmlchek.aww?

Table error in htmlchek.aww?

Sports Information
Music Miscellaneous

Sports Info Music Misc

=====

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