The Web Design Group

Offline HTMLHelp.com Validator

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:

validate (Version 1.2.3)

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.

lq-nsgmls (Version 1.3.4.14)

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 $nsgmlsLocation variable, which defaults to /usr/local/bin/lq-nsgmls.

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.

wdg-sgml-lib (Version 1.1.5)

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 /usr/local/share/wdg/sgml-lib.

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.

License

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Notes