The Web Design Group

WDG HTML Validator Source Code

Other languages: français

The WDG HTML Validator may be copied only under the terms of either the Artistic License or the GNU General Public License.

We encourage you to read the source code and send us any comments or suggestions by emailing Patches to add new features or fix bugs are greatly appreciated, and all contributors will be credited appropriately.

The WDG HTML Validator uses many third-party Perl modules and other programs in order to support a wide range of character encodings. This can make installing the Validator somewhat onerous. Packages are available for most Linux distributions.

See the Offline Validator for a simpler alternative that features a command-line interface instead of CGI.

The source code release is composed of the following files:
This is the Perl CGI script that makes up the bulk of the WDG HTML Validator.
This Perl module provides the rules used by the spider when validating an entire site.
This Perl module extracts possible HTML links from an HTML document when spidering a site.
Unicode::Map8 Add-ons
These add-ons to Perl's Unicode::Map8 module add support for various character encodings, including VISCII and TIS-620. The cp*.bin files are updated versions of some Microsoft encodings to which the euro character was added.
This is the parser, written in C++, used by the Validator.
The Validator also uses various templates.

Changes to the source are noted in the Change Log.

The WDG HTML Validator may be mirrored on other Web servers, including intranets. However, little effort has gone into making the Validator easy to install elsewhere since our focus is on creating a top-notch online validation service. If you would like to try installing the Validator, you will need the following: