The Web Design Group

WDG HTML Validator Source Code

By releasing the WDG HTML Validator as open source, we hope to facilitate further development so that the Validator remains the best validation service on the Web. The source is released under Perl's Artistic License, which means that you may modify and distribute the source with few restrictions.

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 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 extracts possible HTML links from an HTML document when spidering a site.
This is a replacement for Perl's I18N::Charset module that adds some non-IANA charsets commonly used on the Web.
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.
ParserMessages.msg, parseDecl.cxx, parseInstance.cxx
These replacements for the corresponding SP 1.3 lib files give the Validator its friendly error messages. Note that these replacements are specifically for SP 1.3 rather than SP 1.3.4. Files that work with SP 1.3.4 will be available later.
This modified version of SP 1.3's lib/URLStorage.cxx adds support for HTTP/1.1-style virtual hosts when fetching a DTD. A diff of SP 1.3's URLStorage.cxx and the new version is also available if you want to see what changed.
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 the best online validation service. If you would like to try installing the Validator, you will need the following:

The developer of the WDG HTML Validator is available for paid consulting work if you would like assistance installing the Validator or if you would like to fund further development of the Validator. Contact Liam Quinn at