Other languages: français
The Offline HTMLHelp.com Validator is an offline version of our online validation service. The Validator checks the syntax of HTML and XHTML documents.
The Offline Validator is geared toward Unix users. Windows users may prefer A Real Validator by the same author.
To use the Offline Validator, download and install the following components:
This Perl 5 script is what you run to validate files offline. For example, to validate "foo.html", you would run validate foo.html. Try validate --help for options and more details.
This is the parser, written in C++, used by the Validator. You can
download and compile the source. This
program may be installed anywhere, but the location must be specified in the
"validate" Perl script; look for the
variable, which defaults to
lq-nsgmls is a modified version of the nsgmls program from the SP 1.3.4 package. You may optionally use nsgmls in place of lq-nsgmls. lq-nsgmls provides error messages tuned for HTML and also adds support for redirects and name-based virtual hosts when fetching DTDs.
This is the collection of DTDs and other files needed by the
Validator. The files may be installed anywhere, but the location must be
specified in the "validate" Perl script; look for the
$sgmlDir variable, which defaults to
/usr/local/share/wdg/sgml-lib. Extracting the archive
into /usr/local/share will place the files in
Fedora Linux packages for each of these components are available at Cachalot RPMS under the names wdg-offline-validator, lq-nsgmls, and wdg-sgml-lib.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.