There are lots of posts on comp.text.sgml asking how to set up
and use the SGMLs parser and the HTML DTD.
Following the easy installation model of the WebMaster's Starter
Kit, Dan Connolly and I have assembled:
The HTML Check Toolkit
http://www.hal.com/~markg/HaLSoft/html-check/
We're currently only supporting SunOS 4.1.3, but we should have
sgmls binaries for other platforms available soon (linux and solaris
are on the immediate to-do list).
The toolkit should take just a few minutes to install.
Then you can just:
% html-check test/*
test/bad.html ...
sgmls: SGML error at test/bad.html, line 10 at ":":
Incorrect character in markup; markup terminated
sgmls: SGML error at test/bad.html, line 10 at "p":
Length of name, number, or token exceeded NAMELEN or LITLEN limit
sgmls: SGML error at test/bad.html, line 10 at ":":
Incorrect character in markup; markup terminated
sgmls: SGML error at test/bad.html, line 14 at ">":
A end-tag implied by P start-tag; not minimizable
sgmls: SGML error at test/bad.html, line 14 at ">":
B end-tag implied by EM end-tag; not minimizable
sgmls: SGML error at test/bad.html, line 14 at ">":
B end-tag ignored: doesn't end any open element (current is P)
test/good.html ...
... valid
Documentation on how to read these error messages is also something
we're thinking about developing.
Let us know if you like it! And certainly let us know if you have
sgmls binaries for other platforms or other things to contribute.
-------------------------------------------------------------------
Mark A. Gaither -- Software Engineer
HaL Software Systems
3006A Longhorn Suite 113
Austin, TX 78758
Voc:(512)834-9962 x5429 Fax:(512)834-9963
Internet: markg@hal.com
WWW: http://www.hal.com/~markg/index.html