--- wdg-html-validator-1.6.2.orig/validate +++ wdg-html-validator-1.6.2/validate @@ -50,10 +50,10 @@ my $usage = "Usage: validate [OPTION] [FILE...]"; # SGML directory (catalog, DTDs, SGML declarations) -my $sgmlDir = '/usr/local/share/wdg/sgml-lib'; +my $sgmlDir = '/usr/share/sgml/html/dtd'; # Location of lq-nsgmls executable -my $nsgmlsLocation = '/usr/local/bin/lq-nsgmls'; +my $nsgmlsLocation = '/usr/bin/onsgmls'; # lq-nsgmls command line # The SGML declaration and HTML document's filename will be appended @@ -74,8 +74,8 @@ ); # Catalog files for HTML/SGML and XHTML/XML -my $htmlCatalog = catfile($sgmlDir, 'catalog'); -my $xhtmlCatalog = catfile($sgmlDir, 'xhtml.soc'); +my $htmlCatalog = "/etc/sgml/sgml-data.cat"; +my $xhtmlCatalog = "/etc/sgml/w3c-dtd-xhtml.cat"; # Where to direct errors (typically *STDOUT or *STDERR) my $errout = *STDOUT; @@ -126,37 +126,37 @@ # SGML declarations for a given level of HTML my %sgmlDecl = ( - 'XHTML 1.1 plus MathML 2.0 plus SVG 1.1' => catfile($sgmlDir, 'xhtml11', 'xml1n.dcl'), - 'XHTML 1.1 plus MathML 2.0' => catfile($sgmlDir, 'xhtml11', 'xml1n.dcl'), - 'MathML 2.0' => catfile($sgmlDir, 'xhtml11', 'xml1n.dcl'), - 'XHTML 1.1' => catfile($sgmlDir, 'xhtml11', 'xml1n.dcl'), - 'WML 1.3' => catfile($sgmlDir, 'xhtml1', 'xhtml1.dcl'), - 'WML 1.2' => catfile($sgmlDir, 'xhtml1', 'xhtml1.dcl'), - 'WML 1.1' => catfile($sgmlDir, 'xhtml1', 'xhtml1.dcl'), - 'WML 1.0' => catfile($sgmlDir, 'xhtml1', 'xhtml1.dcl'), - 'XHTML Basic' => catfile($sgmlDir, 'xhtml-basic10','xml1.dcl'), - 'ISO/IEC 15445:2000' => catfile($sgmlDir, '15445.dcl'), - 'XHTML 1.0 Strict' => catfile($sgmlDir ,'xhtml1', 'xhtml1.dcl'), - 'XHTML 1.0 Transitional' => catfile($sgmlDir, 'xhtml1', 'xhtml1.dcl'), - 'XHTML 1.0 Frameset' => catfile($sgmlDir, 'xhtml1', 'xhtml1.dcl'), - 'HTML 4.01 Strict' => catfile($sgmlDir, 'HTML4.dcl'), - 'HTML 4.01 Transitional' => catfile($sgmlDir, 'HTML4.dcl'), - 'HTML 4.01 Frameset' => catfile($sgmlDir, 'HTML4.dcl'), - 'HTML 4.0 Strict' => catfile($sgmlDir, 'HTML4.dcl'), - 'HTML 4.0 Transitional' => catfile($sgmlDir, 'HTML4.dcl'), - 'HTML 4.0 Frameset' => catfile($sgmlDir, 'HTML4.dcl'), - 'HTML 3.2' => catfile($sgmlDir, 'HTML32.dcl'), + 'XHTML 1.1 plus MathML 2.0 plus SVG 1.1' => catfile($sgmlDir, 'xhtml', '1.1', 'xml1n.dcl'), + 'XHTML 1.1 plus MathML 2.0' => catfile($sgmlDir, 'xhtml', '1.1', 'xml1n.dcl'), + 'MathML 2.0' => catfile($sgmlDir, 'xhtml', '1.1', 'xml1n.dcl'), + 'XHTML 1.1' => catfile($sgmlDir, 'xhtml', '1.1', 'xml1n.dcl'), + 'WML 1.3' => catfile($sgmlDir, 'xhtml', '1.0', 'xhtml1.dcl'), + 'WML 1.2' => catfile($sgmlDir, 'xhtml', '1.0', 'xhtml1.dcl'), + 'WML 1.1' => catfile($sgmlDir, 'xhtml', '1.0', 'xhtml1.dcl'), + 'WML 1.0' => catfile($sgmlDir, 'xhtml', '1.0', 'xhtml1.dcl'), + 'XHTML Basic' => catfile($sgmlDir, 'xhtml', 'basic', 'xml1.dcl'), + 'ISO/IEC 15445:2000' => catfile($sgmlDir, 'iso-15445', '15445.dcl'), + 'XHTML 1.0 Strict' => catfile($sgmlDir ,'xhtml', '1.0', 'xhtml1.dcl'), + 'XHTML 1.0 Transitional' => catfile($sgmlDir, 'xhtml', '1.0', 'xhtml1.dcl'), + 'XHTML 1.0 Frameset' => catfile($sgmlDir, 'xhtml', '1.0', 'xhtml1.dcl'), + 'HTML 4.01 Strict' => catfile($sgmlDir, '4.01', 'HTML4.decl'), + 'HTML 4.01 Transitional' => catfile($sgmlDir, '4.01', 'HTML4.decl'), + 'HTML 4.01 Frameset' => catfile($sgmlDir, '4.01', 'HTML4.decl'), + 'HTML 4.0 Strict' => catfile($sgmlDir, '4.0', 'HTML4.decl'), + 'HTML 4.0 Transitional' => catfile($sgmlDir, '4.0', 'HTML4.decl'), + 'HTML 4.0 Frameset' => catfile($sgmlDir, '4.0', 'HTML4.decl'), + 'HTML 3.2' => catfile($sgmlDir, 'html-3.2.decl'), 'HTML 3.2 + Style' => catfile($sgmlDir, 'html-970421.decl'), - 'HTML 3.0 Draft' => catfile($sgmlDir, 'HTML3.dcl'), - 'HTML 2.0 + i18n' => catfile($sgmlDir, 'i18n.dcl'), - 'HTML 2.0' => catfile($sgmlDir, 'html.dcl'), - 'HTML 2.0 Strict' => catfile($sgmlDir, 'html.dcl'), - 'HTML 2.0 Level 1' => catfile($sgmlDir, 'html.dcl'), - 'HTML 2.0 Strict Level 1' => catfile($sgmlDir, 'html.dcl'), - 'Unknown' => catfile($sgmlDir, 'custom.dcl'), - + 'HTML 3.0 Draft' => catfile($sgmlDir, 'html-3.decl'), + 'HTML 2.0 + i18n' => catfile($sgmlDir, 'html-2-i18n.decl'), + 'HTML 2.0' => catfile($sgmlDir, 'html-2.decl'), + 'HTML 2.0 Strict' => catfile($sgmlDir, 'html-2.decl'), + 'HTML 2.0 Level 1' => catfile($sgmlDir, 'html-2.decl'), + 'HTML 2.0 Strict Level 1' => catfile($sgmlDir, 'html-2.decl'), + 'Unknown' => catfile($sgmlDir, '/usr/share/wdg-html-validator/custom.dcl'), + # For generic XML validation (using the --xml option) - 'XML' => catfile($sgmlDir, 'xhtml1', 'xhtml1.dcl'), + 'XML' => catfile($sgmlDir, 'xhtml', '1.0', 'xhtml1.dcl'), ); # XHTML DTDs @@ -616,7 +616,7 @@ return "\"$filename\""; } -# Clean the "{{foo}}" used in lq-nsgmls error messages +# Clean the "{{foo}}" used in nsgmls error messages # The error message must be given as the first argument sub stripLqNsgmlsGunk { my $errorMsg = shift; --- wdg-html-validator-1.6.2.orig/debian/control +++ wdg-html-validator-1.6.2/debian/control @@ -0,0 +1,23 @@ +Source: wdg-html-validator +Section: web +Priority: optional +Maintainer: Debian QA Group +Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 5) +Homepage: http://www.htmlhelp.com/tools/validator/ + + +Package: wdg-html-validator +Conflicts: wdg-html-reference (<< 4.0) +Architecture: all +Depends: sgml-data, opensp (>= 1.5release-1.1), libwww-perl, libhtml-parser-perl, libunicode-string-perl, libunicode-map8-perl, libi18n-charset-perl (>= 1.12-1), w3c-dtd-xhtml, libjconv-bin, ${perl:Depends}, ${misc:Depends} +Recommends: apache | httpd +Suggests: wdg-html-reference +Description: WDG HTML Validator + This is a CGI script which lets you enter the URL of a web page which will + be then checked against a validating SGML parser for conformance to official + HTML standards. Pages can also be uploaded and HTML can be directly entered. + . + A command-line version is also included in the package. + . + Author: Liam Quinn --- wdg-html-validator-1.6.2.orig/debian/rules +++ wdg-html-validator-1.6.2/debian/rules @@ -0,0 +1,60 @@ +#!/usr/bin/make -f +# Made with the aid of dh_make, by Craig Small +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. +# Some lines taken from debmake, by Cristoph Lameter. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp install-stamp + dh_clean + +install: build-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + install -o root -g root -m 0755 validate $(CURDIR)/debian/wdg-html-validator/usr/bin + install -o root -g root -m 0755 cgi-bin/validate.pl $(CURDIR)/debian/wdg-html-validator/usr/lib/cgi-bin/wdg-html-validator.pl + install -o root -g root -m 0755 lib/cjkvconv.pl $(CURDIR)/debian/wdg-html-validator/usr/lib/wdg-html-validator + install -o root -g root -m 0644 lib/HTMLLinkExtractor.pm $(CURDIR)/debian/wdg-html-validator/usr/lib/wdg-html-validator + install -o root -g root -m 0644 lib/SpiderUA.pm $(CURDIR)/debian/wdg-html-validator/usr/lib/wdg-html-validator + install -o root -g root -m 0644 lib/custom.dcl $(CURDIR)/debian/wdg-html-validator/usr/share/wdg-html-validator + install -o root -g root -m 0644 templates/* $(CURDIR)/debian/wdg-html-validator/usr/share/wdg-html-validator/templates + install -o root -g root -m 0644 html/* $(CURDIR)/debian/wdg-html-validator/usr/share/wdg-html-validator/ + + touch install-stamp + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_perl + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- wdg-html-validator-1.6.2.orig/debian/compat +++ wdg-html-validator-1.6.2/debian/compat @@ -0,0 +1 @@ +5 --- wdg-html-validator-1.6.2.orig/debian/changelog +++ wdg-html-validator-1.6.2/debian/changelog @@ -0,0 +1,287 @@ +wdg-html-validator (1.6.2-7) unstable; urgency=medium + + * QA upload. + * Remove symlink in /var/www and add information to README.Debian and add + NEWS entry on how to activate the package (Closes: #553537) + - Urgency set to medium because of RC bug fix + * Bump debian/compat to 5, strengthen build-depends on debhelper + * Remove comented dh_foo calls from debian/rules + * User proper homepage field in debian/control + * Add depends on ${misc:Depends} + * Bump standards to 3.8.3 (no further changes needed) + * + + -- Alexander Reichle-Schmehl Wed, 20 Jan 2010 13:56:51 +0100 + +wdg-html-validator (1.6.2-6) unstable; urgency=low + + * Orphaning this package, setting maintainer field to + packages@qa.debian.org. + * Fixed the manpage. + + -- Aurelien Jarno Sat, 30 Sep 2006 18:30:58 +0200 + +wdg-html-validator (1.6.2-5) unstable; urgency=low + + * Bumped Standard-Versions to 3.7.2: + - Revert the cgi-bin/ change (sigh). + + -- Aurelien Jarno Thu, 4 May 2006 09:03:55 +0200 + +wdg-html-validator (1.6.2-4) unstable; urgency=low + + * Bumped Standard-Versions to 3.7.0: + - Move the cgi script from /usr/lib/cgi-bin/ to /usr/lib/cgi-lib/ + + -- Aurelien Jarno Wed, 3 May 2006 16:01:51 +0200 + +wdg-html-validator (1.6.2-3) unstable; urgency=low + + * Fixed the $sgmldir path (closes: bug#325914). + + -- Aurelien Jarno Thu, 1 Sep 2005 16:34:52 +0200 + +wdg-html-validator (1.6.2-2) unstable; urgency=low + + * Fixed a typo in validate. Thanks to Jan Medlock + for the report (closes : bug#325879). + + -- Aurelien Jarno Wed, 31 Aug 2005 17:10:18 +0200 + +wdg-html-validator (1.6.2-1) unstable; urgency=low + + * New upstream version. + + -- Aurelien Jarno Fri, 19 Aug 2005 18:07:17 +0200 + +wdg-html-validator (1.5.7+dfsg-2) unstable; urgency=low + + * Fixed README.Debian. + + -- Aurelien Jarno Fri, 19 Aug 2005 17:43:03 +0200 + +wdg-html-validator (1.5.7+dfsg-1) unstable; urgency=low + + * Rewrote web pages to get rid of non-free one updated copyright + (closes: #311078, #309810). + * Only suggests wdg-html-reference (closes: bug#266416). + * Updated manpage (closes: bug#306198). + * Bumped Standard-Versions to 3.6.2 (no changes). + + -- Aurelien Jarno Fri, 19 Aug 2005 01:22:52 +0200 + +wdg-html-validator (1.5.7-1) unstable; urgency=high + + * New upstream release. + * Fixed debian/copyright. + + -- Aurelien Jarno Tue, 17 Aug 2004 23:03:27 +0200 + +wdg-html-validator (1.5.6-2) unstable; urgency=low + + * Recommends apache | httpd instead only httpd. + + -- Aurelien Jarno Wed, 5 May 2004 08:57:34 +0200 + +wdg-html-validator (1.5.6-1) unstable; urgency=low + + * New upstream version (closes: bug#241869). + + -- Aurelien Jarno Tue, 13 Apr 2004 21:32:45 +0200 + +wdg-html-validator (1.5.5-11) unstable; urgency=low + + * Added custom.dcl to the package. Set /etc/sgml/sgml-data.cat and + /etc/sgml/w3c-dtd-xhtml.cat as the default catalogs for HTML and + XHTML. Thanks to Joseph Walton for the patches (closes: bug#232024). + + -- Aurelien Jarno Sat, 21 Feb 2004 00:21:27 +0100 + +wdg-html-validator (1.5.5-10) unstable; urgency=low + + * Updated validate to version 1.1.3. + * This version fixes the handling of URIs beginning by file:// (closes: + bug#203556). + * Bumped Standards-Version to 3.6.1 (no changes). + + -- Aurelien Jarno Sat, 6 Sep 2003 16:04:21 +0200 + +wdg-html-validator (1.5.5-9) unstable; urgency=low + + * Fixed the links for the new version of wdg-html-reference. + * Bumped Standards-Version to 3.5.10. + + -- Aurelien Jarno Fri, 13 Jun 2003 23:21:27 +0200 + +wdg-html-validator (1.5.5-8) unstable; urgency=low + + * Fixed depency on opensp. + + -- Aurelien Jarno Sun, 4 May 2003 15:52:23 +0200 + +wdg-html-validator (1.5.5-7) unstable; urgency=low + + * Depends on opensp (>= 1.5release-1.1) because it doesn't work with + previous versions (closes: bug#191554). Thanks to David Sewell for + the information. + + -- Aurelien Jarno Thu, 1 May 2003 19:07:46 +0200 + +wdg-html-validator (1.5.5-6) unstable; urgency=low + + * The "I hope this fix won't fuck another thing" release. + * Fixed the path to the HTML catalog file (Closes: bug#190345). + + -- Aurelien Jarno Sat, 26 Apr 2003 22:49:54 +0200 + +wdg-html-validator (1.5.5-5) unstable; urgency=low + + * Checked (and fixed) all paths to the SGML declarations in validate + and validate.cgi (Closes: bug#188263). + + -- Aurelien Jarno Wed, 9 Apr 2003 01:37:04 +0200 + +wdg-html-validator (1.5.5-4) unstable; urgency=low + + * Fixed path to XHTML 1.1 declaration in validate and validate.cgi + (Closes: bug#188057). + * Fixed some wrong paths to aural.css. + + -- Aurelien Jarno Tue, 8 Apr 2003 01:39:02 +0200 + +wdg-html-validator (1.5.5-3) unstable; urgency=low + + * New maintainer (Thanks Jaldhar :-). + * Added author and homepage to the description. + * Updated debian/copyright. + * Added a manpage for validate. + + -- Aurelien Jarno Sun, 6 Apr 2003 15:11:19 +0200 + +wdg-html-validator (1.5.5-2) unstable; urgency=low + + * Hurray! The XHTML DTD has finally made it into Debian so we can + reenable XHTML and MathML support. + * uses the jconv from libjconv-bin (Closes: #181217) + * Use opensp instead of sp to get -R option to nsgmls. (Closes: #186097) + * Backed out relative links patch as it broke various links (Closes: #176883) + + -- Jaldhar H. Vyas Tue, 25 Mar 2003 11:01:19 -0500 + +wdg-html-validator (1.5.5-1) unstable; urgency=low + + * New upstream release. + * Command-line validator updated to 1.12 + * HTML error in upload.html fixed. (Closes: #173725) + * Configuration file added for proxies (Closes: #174807) + + -- Jaldhar H. Vyas Thu, 9 Jan 2003 10:57:51 -0500 + +wdg-html-validator (1.5.4-2) unstable; urgency=low + + * Made links relative so the package can be used easier in e.g. vhosts, + Thanks Aurelien Jarno for the patch. (Closes: #166544) + + -- Jaldhar H. Vyas Sat, 26 Oct 2002 22:28:55 -0400 + +wdg-html-validator (1.5.4-1) unstable; urgency=low + + * New upstream release. + * Some broken links fixed. (Closes: #152282) + + -- Jaldhar H. Vyas Wed, 10 Jul 2002 12:18:53 -0400 + +wdg-html-validator (1.5.2-5) unstable; urgency=low + + * Fixed some broken image links. (Closes: #138319) + + -- Jaldhar H. Vyas Fri, 22 Mar 2002 01:13:03 -0500 + +wdg-html-validator (1.5.2-4) unstable; urgency=low + + * Tightened dependency on libi18n-charset-perl to ensure support for + ISO-8859-15 (Closes: #131557) + + -- Jaldhar H. Vyas Fri, 22 Feb 2002 13:30:29 -0500 + +wdg-html-validator (1.5.2-3) unstable; urgency=low + + * Now the main validator page is valid HTML too. + + -- Jaldhar H. Vyas Mon, 28 Jan 2002 19:23:32 -0500 + +wdg-html-validator (1.5.2-2) unstable; urgency=low + + * Added checkbox for hiding valid input to main form. + + -- Jaldhar H. Vyas Sat, 26 Jan 2002 13:25:50 -0500 + +wdg-html-validator (1.5.2-1) unstable; urgency=low + + * New upstream release. + * Enable "Include warnings feature." Thanks darxus@chaosreigns.com + (Closes: #130503) + * Output of the validator is also valid HTML now. Thanks + darxus@chaosreigns.com (Closes: #130598) + * Broken links to HTML elements fixed. (Closes: #130452) + + -- Jaldhar H. Vyas Thu, 24 Jan 2002 21:07:46 -0500 + +wdg-html-validator (1.5.0-1) unstable; urgency=low + + * New upstream version + * Fixed broken links in html/templates/footer.htmlf.en (Closes: #113755) + + -- Jaldhar H. Vyas Sun, 30 Sep 2001 23:44:44 -0400 + +wdg-html-validator (1.4.7-1) unstable; urgency=low + + * Updated to newest upstream version at last! (Closes: #63475) + * Repackaged somewhat and brought uptodate with latest policy. + * Command-line validator is included now. + * Now that wdg-html-reference goes in main, this package should also be + in main. + + -- Jaldhar H. Vyas Sun, 12 Aug 2001 22:31:03 -0400 + +wdg-html-validator (1.0-5) unstable; urgency=low + + * Doesn't include Charset.pm anymore as this is now a seperate Debian package. + We'll depend on that instead. + * Now depends on perl5 + * I'm going to to re-upload wdg-html-reference to non-free and this + package depends on it so it will go to contrib. (fixes: #39838) + When I get time to resolve the licensing situation, both packages will + hopefully go into main. + + -- Jaldhar H. Vyas Sun, 4 Jul 1999 19:49:41 -0400 + +wdg-html-validator (1.0-4) unstable; urgency=low + + * fixed up assorted broken links. + + -- Jaldhar H. Vyas Sun, 23 May 1999 04:17:14 -0400 + +wdg-html-validator (1.0-3) unstable; urgency=low + + * Oops I still had this marked as going into contrib even though the + license is now DFSG free. Thanks to Josip Rodin for the catch. + * style.css not compressed anymore. Problem spotted by Robert Woodcock. + * Followed Manoj Shrivastava's suggestion to move supporting HTML files + out of /usr/doc. Paths in script adjusted accordingly. + + -- Jaldhar H. Vyas Sun, 23 May 1999 01:05:04 -0400 + +wdg-html-validator (1.0-2) unstable contrib; urgency=low + + * First publicly available version. -1 was for betatesting only. + * Several bug fixes thanks to Robert Collier and Andreas Tille. + + -- Jaldhar H. Vyas Tue, 18 May 1999 01:13:02 -0400 + +wdg-html-validator (1.0-1) unstable contrib; urgency=low + + * Initial Release. + + -- Jaldhar H. Vyas Wed, 07 Apr 1999 13:37:45 -0400 + --- wdg-html-validator-1.6.2.orig/debian/validate.1 +++ wdg-html-validator-1.6.2/debian/validate.1 @@ -0,0 +1,75 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH VALIDATE 1 "April 6, 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +validate \- Offline HTMLHelp.com Validator +.SH SYNOPSIS +.B validate +.I "[OPTION] [FILE...]" +.SH "DESCRIPTION" +.PP +.B validate\c +\&, the Offline HTMLHelp.com Validator, checks the syntax of HTML +documents using an SGML parser and reports any errors. XHTML documents +may also be validated using an XML parser. + +.SH OPTIONS +A summary of options are included below. +.TP +.B \-\-w, \-\-warn +Include warnings. +.TP +.B \-\-xml +Indicate that the documents to be validated are XML documents. Known +document types, such as HTML 4.01 and XHTML 1.0, are automatically handled +by "validate". For unknown document types, "validate" will assume XHTML/XML +if this option is specified and HTML/SGML otherwise. +.TP +.B \-\-charset=ENCODING +Force ENCODING to be used as the character encoding when validating HTML/SGML +documents. This option is ignored when validating XHTML/XML documents, which +are assumed to use XML rules for specifying the character encoding. The +following encodings (case-insensitive) are supported: "utf-8", +"iso-10646-ucs-2", "euc-jp", "euc-kr", "gb2312", "shift_jis", "big5", and +"iso-8859-n" where n is between 1 and 9 inclusive. +.TP +.B \-\-verbose +Turn on verbose output messages. +.TP +.B \-\-[no]emacs +(don't) use an output format intended for parsing by (X)Emacs, autodetected. +.TP +.B \-h, \-\-help +Show summary of options and exit. +.TP +.B \-v, \-\-version +Output version information and exit +.SH FILES +.PP +Any number of files may be specified after the options. With no FILE, +standard input is read. +.PP +Files can also be URIs if you have the URI and libwww-perl packages +installed. Support for different URI schemes is also determined by these +packages. Proxy settings are loaded from environment variables for +each scheme--e.g., http_proxy=http://localhost:3128. +.SH AUTHOR +.PP +Liam Quinn +.PP +This manual page was originaly written by Aurelien Jarno , +for the Debian GNU/Linux system (but may be used by others). --- wdg-html-validator-1.6.2.orig/debian/copyright +++ wdg-html-validator-1.6.2/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Jaldhar H. Vyas jaldhar@debian.org on +Wed, 7 Apr 1999 14:11:37 -0400. + +The following files come from: + validate <- http://www.htmlhelp.com/tools/validator/offline/validate + validate.pl <- http://www.htmlhelp.com/tools/validator/src/perl/validate.pl + lib/cjkvconv.pl <- ftp://ftp.ora.com/pub/examples/nutshell/ujip/perl/cjkvconv.pl + lib/HTMLLinkExtractor.pm <- http://www.htmlhelp.com/tools/validator/src/perl/HTMLLinkExtractor.pm + lib/SpiderUA.pm <- http://www.htmlhelp.com/tools/validator/src/perl/SpiderUA.pm + + +Upstream Author of the program: Liam Quinn + +Copyright: + Copyright (c) 1998-2003 by Liam Quinn + +This program is free software; you can redistribute it and/or +modify it under the same terms as Perl itself. + +Debian GNU/Linux users can find the Perl licenses terms under +/usr/share/common-licenses/Artistic and /usr/share/common-licenses/GPL. + + +Author of the web pages: Aurelien Jarno + +Copyright: + Copyright (c) 2005 by Aurelien Jarno + +You are free to redistribute this software under the terms of the GNU +General Public License. + +On Debian systems, the complete text of the GNU General Public License can +be found at /usr/share/common-licenses/GPL + --- wdg-html-validator-1.6.2.orig/debian/dirs +++ wdg-html-validator-1.6.2/debian/dirs @@ -0,0 +1,6 @@ +usr/bin +usr/lib/cgi-bin +usr/lib/wdg-html-validator +usr/share/wdg-html-validator +usr/share/wdg-html-validator/templates +var/www --- wdg-html-validator-1.6.2.orig/debian/NEWS +++ wdg-html-validator-1.6.2/debian/NEWS @@ -0,0 +1,9 @@ +wdg-html-validator (1.6.2-7) unstable; urgency=medium + + As of this version the symlink shipped in /var/www is gone to make it + easier to change the directory root of your webserver. Easiest ways to + activate the package is to symlink + /usr/share/wdg-html-validator/wdg-html-validator.html to the document root + of your webserver or by using an alias command. + + -- Alexander Reichle-Schmehl Wed, 20 Jan 2010 13:55:15 +0100 --- wdg-html-validator-1.6.2.orig/debian/README.debian +++ wdg-html-validator-1.6.2/debian/README.debian @@ -0,0 +1,27 @@ +wdg-html-validator for DEBIAN +----------------------------- + +Locations +--------- + +This package installs files into /usr/share/wdg-html-validator and /usr/lib/cgi-bin. +The easiest way to activate it is to symlink +/usr/share/wdg-html-validator/wdg-html-validator.html to your webservers +document root (e.g. /var/www) or use an alias for that. + +Configuration File +------------------ + +I've added a configuration file for setting proxies. To use it make a file +called /etc/wdg-html-validator.conf with one or more of the following lines + +ftp_proxy=ftp://url/for/http/proxy:port +http_proxy=http://url/for/http/proxy:port +https_proxy=https://url/for/http/proxy:port +no_proxy=comma,seperated,list,of,hosts + +See the LWP::UserAgent man page for more information about how to set proxies. + +-- +Aurelien Jarno , Sat, 09 Jul 2005 23:50:00 +0300 +Alexander Reichle-Schmehl Wed, 20 Jan 2010 13:42:22 +0100 --- wdg-html-validator-1.6.2.orig/debian/manpages +++ wdg-html-validator-1.6.2/debian/manpages @@ -0,0 +1 @@ +debian/validate.1 --- wdg-html-validator-1.6.2.orig/cgi-bin/validate.pl +++ wdg-html-validator-1.6.2/cgi-bin/validate.pl @@ -18,6 +18,7 @@ # Required libraries # ###################### +use lib '/usr/lib/wdg-html-validator'; use CGI; use LWP::UserAgent; use SpiderUA; @@ -48,22 +49,25 @@ my $acceptHeader = 'text/html,application/xhtml+xml;q=0.9,*/*;q=0.5'; # Location of jconv Japanese character encoding converter -my $jconv = '/usr/local/bin/jconv'; +my $jconv = '/usr/bin/jconv'; # Location of cjkvconv.pl CJK character encoding converter -my $cjkvconv = '/usr/local/bin/cjkvconv.pl'; +my $cjkvconv = '/usr/lib/wdg-html-validator/cjkvconv.pl'; + +# SGML directory (catalog, DTDs, SGML declarations) +my $sgmldir = '/usr/share/sgml/html/dtd'; # SGML search path: directories containing the catalog, DTDs, # SGML declarations, and the file to be validated -my $sgmlSearchPath = '/usr/local/www/data/tools/validator/lib:/tmp:/var/tmp'; +my $sgmlSearchPath = '/usr/share/sgml/html:/tmp'; # Directory containing templates -my $templates = '/usr/local/www/cgi-bin/templates/validator'; +my $templates = '/usr/share/wdg-html-validator/templates'; # nsgmls command line # The SGML declaration and name of the temporary file storing the retrieved # document will be appended to this string -my $nsgmls = '/usr/local/bin/lq-nsgmls -E50 -s -R'; +my $nsgmls = '/usr/bin/onsgmls -E100 -s -R'; # Warnings to pass on command-line to nsgmls, if desired my $nsgmlsWarnings = '-wnon-sgml-char-ref -wmin-tag'; @@ -79,8 +83,8 @@ ); # Catalog files for HTML and XHTML -my $htmlCatalog = "catalog"; -my $xhtmlCatalog = "xhtml.soc"; +my $htmlCatalog = "/usr/share/sgml/html/entities/catalog"; +my $xhtmlCatalog = "/usr/share/sgml/html/entities/xhtml/catalog"; # Text preceding identification of the document checked my %documentChecked = ( @@ -91,19 +95,19 @@ # Text preceding identification of the character encoding my %characterEncoding = ( # English - 'en' => 'Character encoding:' + 'en' => 'Character encoding:' ); # Text preceding the level of HTML checked my %levelOfHTML = ( # English - 'en' => 'Level of HTML:' + 'en' => 'Level of HTML:' ); # Text indicating that only a check for well-formedness was performed my %wellformednessCheck = ( #English - 'en' => 'Checked for well-formedness only (no DOCTYPE found)' + 'en' => 'Checked for well-formedness only (no DOCTYPE found)' ); # Default DOCTYPE for forgetful users @@ -371,35 +375,35 @@ # SGML declarations for a given level of HTML my %sgmlDecl = ( - 'XHTML 1.1 plus MathML 2.0 plus SVG 1.1' => "xhtml11/xml1n.dcl", - 'XHTML 1.1 plus MathML 2.0' => "xhtml11/xml1n.dcl", - 'MathML 2.0' => "xhtml11/xml1n.dcl", - 'XHTML 1.1' => "xhtml11/xml1n.dcl", - 'WML 1.3' => "xhtml1/xhtml1.dcl", - 'WML 1.2' => "xhtml1/xhtml1.dcl", - 'WML 1.1' => "xhtml1/xhtml1.dcl", - 'WML 1.0' => "xhtml1/xhtml1.dcl", - 'XHTML Basic' => "xhtml-basic10/xml1.dcl", - 'ISO/IEC 15445:2000' => "15445.dcl", - 'XHTML 1.0 Strict' => "xhtml1/xhtml1.dcl", - 'XHTML 1.0 Transitional' => "xhtml1/xhtml1.dcl", - 'XHTML 1.0 Frameset' => "xhtml1/xhtml1.dcl", - 'HTML 4.01 Strict' => "HTML4.dcl", - 'HTML 4.01 Transitional' => "HTML4.dcl", - 'HTML 4.01 Frameset' => "HTML4.dcl", - 'HTML 4.0 Strict' => "HTML4.dcl", - 'HTML 4.0 Transitional' => "HTML4.dcl", - 'HTML 4.0 Frameset' => "HTML4.dcl", - 'HTML 3.2' => "HTML32.dcl", - 'HTML 3.2 + Style' => "html-970421.decl", - 'HTML 3.0 Draft' => "HTML3.dcl", - 'HTML 2.0 + i18n' => "i18n.dcl", - 'HTML 2.0' => "html.dcl", - 'HTML 2.0 Strict' => "html.dcl", - 'HTML 2.0 Level 1' => "html.dcl", - 'HTML 2.0 Strict Level 1' => "html.dcl", - 'Unknown' => "custom.dcl", - 'Unknown (XML)' => "xhtml1/xhtml1.dcl" + 'XHTML 1.1 plus MathML 2.0 plus SVG 1.1' => "$sgmldir/xhtml/xhtml11/xml1n.dcl", + 'XHTML 1.1 plus MathML 2.0' => "$sgmldir/xhtml/1.1/xml1n.dcl", + 'MathML 2.0' => "$sgmldir/xhtml/1.1/xml1n.dcl", + 'XHTML 1.1' => "$sgmldir/xhtml/1.1/xml1n.dcl", + 'WML 1.3' => "$sgmldir/xhtml/1.0/xhtml1.dcl", + 'WML 1.2' => "$sgmldir/xhtml/1.0/xhtml1.dcl", + 'WML 1.1' => "$sgmldir/xhtml/1.0/xhtml1.dcl", + 'WML 1.0' => "$sgmldir/xhtml/1.0/xhtml1.dcl", + 'XHTML Basic' => "$sgmldir/xml/1.0/xhtml1.dcl", + 'ISO/IEC 15445:2000' => "$sgmldir/iso-15445/15445.dcl", + 'XHTML 1.0 Strict' => "$sgmldir/xhtml/1.0/xhtml1.dcl", + 'XHTML 1.0 Transitional' => "$sgmldir/xhtml/1.0/xhtml1.dcl", + 'XHTML 1.0 Frameset' => "$sgmldir/xhtml/1.0/xhtml1.dcl", + 'HTML 4.01 Strict' => "$sgmldir/4.01/HTML4.decl", + 'HTML 4.01 Transitional' => "$sgmldir/4.01/HTML4.decl", + 'HTML 4.01 Frameset' => "$sgmldir/4.01/HTML4.decl", + 'HTML 4.0 Strict' => "$sgmldir/4.0/HTML4.decl", + 'HTML 4.0 Transitional' => "$sgmldir/4.0/HTML4.decl", + 'HTML 4.0 Frameset' => "$sgmldir/4.0/HTML4.decl", + 'HTML 3.2' => "$sgmldir/html-3.2.decl", + 'HTML 3.2 + Style' => "$sgmldir/html-970421.decl", + 'HTML 3.0 Draft' => "$sgmldir/html-3.decl", + 'HTML 2.0 + i18n' => "$sgmldir/html-2-i18n.decl", + 'HTML 2.0' => "$sgmldir/html-2.decl", + 'HTML 2.0 Strict' => "$sgmldir/html-2.decl", + 'HTML 2.0 Level 1' => "$sgmldir/html-2.decl", + 'HTML 2.0 Strict Level 1' => "$sgmldir/html-2.decl", + 'Unknown' => "/usr/share/wdg-html-validator/custom.dcl", + 'Unknown (XML)' => "$sgmldir/xhtml/1.0/xhtml1.dcl" ); # XHTML DTDs @@ -474,10 +478,10 @@ 'en-HTML 4.01 Strict' => 'HTML 4.01 Strict', 'en-HTML 4.01 Transitional' => 'HTML 4.01 Transitional', 'en-HTML 4.01 Frameset' => 'HTML 4.01 Frameset', - 'en-HTML 4.0 Strict' => 'HTML 4.0 Strict', - 'en-HTML 4.0 Transitional' => 'HTML 4.0 Transitional', - 'en-HTML 4.0 Frameset' => 'HTML 4.0 Frameset', - 'en-HTML 3.2' => 'HTML 3.2', + 'en-HTML 4.0 Strict' => 'HTML 4.0 Strict', + 'en-HTML 4.0 Transitional' => 'HTML 4.0 Transitional', + 'en-HTML 4.0 Frameset' => 'HTML 4.0 Frameset', + 'en-HTML 3.2' => 'HTML 3.2', 'en-HTML 3.2 + Style' => 'HTML 3.2 + Style', 'en-HTML 3.0 Draft' => 'HTML 3.0 Draft', 'en-HTML 2.0 + i18n' => 'HTML 2.0 + i18n', @@ -1343,8 +1347,34 @@ $userAgent = new LWP::UserAgent; $userAgent->agent("$normalUA"); } - + $userAgent->protocols_allowed(['http','https','ftp']); + if ( -f '/etc/wdg-html-validator/wdg-html-validator.conf') + { + open (CONF, '<', '/etc/wdg-html-validator/wdg-html-validator.conf') or die "$!\n"; + while () + { + chomp; + my ($key, $value) = /^\s*(\w+)\s*=\s*(.+)/; + if ($key =~ /ftp_proxy/ && defined($value)) + { + $userAgent->proxy('ftp', $value); + } + elsif ($key =~ /http_proxy/ && defined($value)) + { + $userAgent->proxy('http', $value); + } + elsif ($key =~ /https_proxy/ && defined($value)) + { + $userAgent->proxy('https', $value); + } + elsif ($key =~ /no_proxy/ && defined($value)) + { + $userAgent->no_proxy('.no.proxy', $value); + }; + } + close CONF; + } } # Prepare request @@ -1586,7 +1616,7 @@ &printHeader('ISO-8859-1', $lang); &printFile("$beginningHTML.$lang"); - &error('Your browser does not appear to support form-based file upload. Please try one of our alternate methods of validation.'); + &error('Your browser does not appear to support form-based file upload. Please try one of our alternate methods of validation.'); } --- wdg-html-validator-1.6.2.orig/lib/cjkvconv.pl +++ wdg-html-validator-1.6.2/lib/cjkvconv.pl @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/bin/perl # CJKVConv.pl (a cross-locale CJKV code converter) # Written by Ken Lunde (lunde@adobe.com) --- wdg-html-validator-1.6.2.orig/html/wdg-html-validator.html +++ wdg-html-validator-1.6.2/html/wdg-html-validator.html @@ -0,0 +1,210 @@ + + + + WDG HTML Validator + + +

WDG HTML Validator

+ +
+

+ WDG HTML Validator is a CGI script which checks web pages against + a validating SGML parser for conformance to official HTML standards. +

+

+ You can: +

+ + +
+ +

+ Validate an URL +

+

+ Enter the URL of an HTML document to validate: +

+
+

+ + +
+ Include warnings + Show input + Validate entire site + Hide valid results +

+
+

+
+

+ +
+ +

+ Validate files on your computer +

+

+ Select an HTML document from your computer to be uploaded for validation: +

+
+

+ + +
+ Charset: + +
+ Include warnings + Show input +

+
+

+
+

+ +
+ +

+ Enter HTML code directly +

+

+ Enter the HTML to be validated: +

+
+

+ +
+ Charset: + +
+ Include warnings + Show input +
+ + +

+
+

+
+

+ +
+ +

+ Validate multiple URLs +

+

+ Enter the URLs of HTML documents to be validated, one by line: +

+
+

+ +
+ Include warnings + Show input + Hide valid results +
+ + +

+
+ + + --- wdg-html-validator-1.6.2.orig/templates/html32links.txt.en +++ wdg-html-validator-1.6.2/templates/html32links.txt.en @@ -0,0 +1,67 @@ +address http://www.w3.org/TR/REC-html32-19970114.html#address +applet http://www.w3.org/TR/REC-html32-19970114.html#applet +area http://www.w3.org/TR/REC-html32-19970114.html#map +a http://www.w3.org/TR/REC-html32-19970114.html#anchor +base http://www.w3.org/TR/REC-html32-19970114.html#base +basefont http://www.w3.org/TR/REC-html32-19970114.html#basefont +big http://www.w3.org/TR/REC-html32-19970114.html#font-style +blockquote http://www.w3.org/TR/REC-html32-19970114.html#bq +body http://www.w3.org/TR/REC-html32-19970114.html#body +br http://www.w3.org/TR/REC-html32-19970114.html#img +b http://www.w3.org/TR/REC-html32-19970114.html#font-style +caption http://www.w3.org/TR/REC-html32-19970114.html#table +center http://www.w3.org/TR/REC-html32-19970114.html#center +cite http://www.w3.org/TR/REC-html32-19970114.html#phrase +code http://www.w3.org/TR/REC-html32-19970114.html#phrase +dd http://www.w3.org/TR/REC-html32-19970114.html#dl +dfn http://www.w3.org/TR/REC-html32-19970114.html#phrase +dir http://www.w3.org/TR/REC-html32-19970114.html#img +div http://www.w3.org/TR/REC-html32-19970114.html#pre +dl http://www.w3.org/TR/REC-html32-19970114.html#dl +dt http://www.w3.org/TR/REC-html32-19970114.html#dl +em http://www.w3.org/TR/REC-html32-19970114.html#phrase +font http://www.w3.org/TR/REC-html32-19970114.html#img +form http://www.w3.org/TR/REC-html32-19970114.html#form +h1 http://www.w3.org/TR/REC-html32-19970114.html#headings +h2 http://www.w3.org/TR/REC-html32-19970114.html#headings +h3 http://www.w3.org/TR/REC-html32-19970114.html#headings +h4 http://www.w3.org/TR/REC-html32-19970114.html#headings +h5 http://www.w3.org/TR/REC-html32-19970114.html#headings +h6 http://www.w3.org/TR/REC-html32-19970114.html#headings +head http://www.w3.org/TR/REC-html32-19970114.html#head +hr http://www.w3.org/TR/REC-html32-19970114.html#hr +html http://www.w3.org/TR/REC-html32-19970114.html#html +img http://www.w3.org/TR/REC-html32-19970114.html#img +input http://www.w3.org/TR/REC-html32-19970114.html#input +isindex http://www.w3.org/TR/REC-html32-19970114.html#isindex +i http://www.w3.org/TR/REC-html32-19970114.html#font-style +kbd http://www.w3.org/TR/REC-html32-19970114.html#phrase +link http://www.w3.org/TR/REC-html32-19970114.html#base +li http://www.w3.org/TR/REC-html32-19970114.html#lists +map http://www.w3.org/TR/REC-html32-19970114.html#map +menu http://www.w3.org/TR/REC-html32-19970114.html#menu +meta http://www.w3.org/TR/REC-html32-19970114.html#meta +ol http://www.w3.org/TR/REC-html32-19970114.html#ol +option http://www.w3.org/TR/REC-html32-19970114.html#select +param http://www.w3.org/TR/REC-html32-19970114.html#param +pre http://www.w3.org/TR/REC-html32-19970114.html#pre +p http://www.w3.org/TR/REC-html32-19970114.html#para +samp http://www.w3.org/TR/REC-html32-19970114.html#phrase +script http://www.w3.org/TR/REC-html32-19970114.html#script +select http://www.w3.org/TR/REC-html32-19970114.html#select +small http://www.w3.org/TR/REC-html32-19970114.html#font-style +strike http://www.w3.org/TR/REC-html32-19970114.html#font-style +strong http://www.w3.org/TR/REC-html32-19970114.html#phrase +style http://www.w3.org/TR/REC-html32-19970114.html#style +sub http://www.w3.org/TR/REC-html32-19970114.html#font-style +sup http://www.w3.org/TR/REC-html32-19970114.html#font-style +table http://www.w3.org/TR/REC-html32-19970114.html#table +td http://www.w3.org/TR/REC-html32-19970114.html#table +textarea http://www.w3.org/TR/REC-html32-19970114.html#textarea +th http://www.w3.org/TR/REC-html32-19970114.html#table +title http://www.w3.org/TR/REC-html32-19970114.html#title +tr http://www.w3.org/TR/REC-html32-19970114.html#table +tt http://www.w3.org/TR/REC-html32-19970114.html#font-style +ul http://www.w3.org/TR/REC-html32-19970114.html#ul +u http://www.w3.org/TR/REC-html32-19970114.html#font-style +var http://www.w3.org/TR/REC-html32-19970114.html#phrase --- wdg-html-validator-1.6.2.orig/templates/header.htmlf.en +++ wdg-html-validator-1.6.2/templates/header.htmlf.en @@ -0,0 +1,11 @@ + + + + HTML Validation Results + + + +

HTML Validation Results

+ +
--- wdg-html-validator-1.6.2.orig/templates/headerWithInput.htmlf.en +++ wdg-html-validator-1.6.2/templates/headerWithInput.htmlf.en @@ -0,0 +1,40 @@ + + + + HTML Validation Results + + + + +

HTML Validation Results

+ +

--- wdg-html-validator-1.6.2.orig/templates/footer.htmlf.en +++ wdg-html-validator-1.6.2/templates/footer.htmlf.en @@ -0,0 +1,12 @@ +
+ +

+ Validate by URL - + Validate by file upload - + Validate by direct input - + Validate multiple URLs +

+
+
Developed and maintained by Liam Quinn <liam@htmlhelp.com>
+ + --- wdg-html-validator-1.6.2.orig/templates/html40links.txt.en +++ wdg-html-validator-1.6.2/templates/html40links.txt.en @@ -0,0 +1,102 @@ +xml http://www.w3.org/XML/ +non-empty elements http://www.w3.org/TR/xhtml1/#h-4.3 +empty elements http://www.w3.org/TR/xhtml1/#h-4.6 +attribute minimization http://www.w3.org/TR/xhtml1/#h-4.5 +html 4.01 transitional http://www.w3.org/TR/1999/REC-html401-19991224/sgml/loosedtd.htmli +html 4.01 frameset http://www.w3.org/TR/1999/REC-html401-19991224/sgml/framesetdtd.html +html 4.01 http://www.w3.org/TR/html401/ +html 4.0 transitional http://www.w3.org/TR/1999/REC-html401-19991224/sgml/loosedtd.html +html 4.0 frameset http://www.w3.org/TR/1999/REC-html401-19991224/sgml/framesetdtd.html +html 4.0 http://www.w3.org/TR/html4/ +a http://www.w3.org/TR/1999/REC-html401-19991224/struct/links.html#h-12.2 +abbr http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.1 +acronym http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.1 +address http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.5.6 +applet http://www.w3.org/TR/1999/REC-html401-19991224/struct/objects.html#h-13.3 +area http://www.w3.org/TR/1999/REC-html401-19991224/struct/objects.html#h-13.6.1 +b http://www.w3.org/TR/1999/REC-html401-19991224/present/graphics.html#h-15.2.1 +base http://www.w3.org/TR/1999/REC-html401-19991224/struct/links.html#h-12.4 +basefont http://www.w3.org/TR/1999/REC-html401-19991224/present/graphics.html#h-15.2.2 +bdo http://www.w3.org/TR/1999/REC-html401-19991224/struct/dirlang.html#h-8.2.4 +big http://www.w3.org/TR/1999/REC-html401-19991224/present/graphics.html#h-15.2.1 +blockquote http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.2 +body http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.5.1 +br http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.3.2 +button http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.5 +caption http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#h-11.2.2 +center http://www.w3.org/TR/1999/REC-html401-19991224/present/graphics.html#edef-CENTER +cite http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.1 +code http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.1 +col http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#h-11.2.4 +colgroup http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#h-11.2.4 +dd http://www.w3.org/TR/1999/REC-html401-19991224/struct/lists.html#h-10.3 +del http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.3.5 +dfn http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.1 +dir http://www.w3.org/TR/1999/REC-html401-19991224/struct/lists.html#h-10.4 +div http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.5.4 +dl http://www.w3.org/TR/1999/REC-html401-19991224/struct/lists.html#h-10.3 +dt http://www.w3.org/TR/1999/REC-html401-19991224/struct/lists.html#h-10.3 +em http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.1 +fieldset thttp://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.10 +font http://www.w3.org/TR/1999/REC-html401-19991224/present/graphics.html#h-15.2.2 +form http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.3 +frame http://www.w3.org/TR/1999/REC-html401-19991224/present/frames.html#h-16.2.2 +frameset http://www.w3.org/TR/1999/REC-html401-19991224/present/frames.html#h-16.2.1 +h1 http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.5.5 +h2 http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.5.5 +h3 http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.5.5 +h4 http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.5.5 +h5 http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.5.5 +h6 http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.5.5 +head http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.4.1 +hr http://www.w3.org/TR/1999/REC-html401-19991224/present/graphics.html#h-15.3 +html http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.3 +i http://www.w3.org/TR/1999/REC-html401-19991224/present/graphics.html#h-15.2.1 +iframe http://www.w3.org/TR/1999/REC-html401-19991224/present/frames.html#h-16.5 +img http://www.w3.org/TR/1999/REC-html401-19991224/struct/objects.html#h-13.2 +input http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.4 +ins http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.3.5 +isindex http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.8 +kbd http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.1 +label http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.9 +legend http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.10 +li http://www.w3.org/TR/1999/REC-html401-19991224/struct/lists.html#h-10.2 +link http://www.w3.org/TR/1999/REC-html401-19991224/struct/links.html#h-12.3 +map http://www.w3.org/TR/1999/REC-html401-19991224/struct/objects.html#h-13.6.1 +menu http://www.w3.org/TR/1999/REC-html401-19991224/struct/lists.html#h-10.4 +meta http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.4.4.2 +noframe http://www.w3.org/TR/1999/REC-html401-19991224/present/frames.html#h-16.4.1 +noscript http://www.w3.org/TR/1999/REC-html401-19991224/interact/scripts.html#h-18.3.1 +object http://www.w3.org/TR/1999/REC-html401-19991224/struct/objects.html#h-13.3 +ol http://www.w3.org/TR/1999/REC-html401-19991224/struct/lists.html#h-10.2 +optgroup http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.6 +option http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.6 +p http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.3.1 +param http://www.w3.org/TR/1999/REC-html401-19991224/struct/objects.html#h-13.3.2 +pre http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.3.4 +q http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.2 +s http://www.w3.org/TR/1999/REC-html401-19991224/present/graphics.html#h-15.2.1 +samp http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.1 +script http://www.w3.org/TR/1999/REC-html401-19991224/interact/scripts.html#h-18.2.1 +select http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.6 +small http://www.w3.org/TR/1999/REC-html401-19991224/present/graphics.html#h-15.2.1 +span http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.5.4 +strike http://www.w3.org/TR/1999/REC-html401-19991224/present/graphics.html#h-15.2.1 +strong http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.1 +style http://www.w3.org/TR/1999/REC-html401-19991224/present/styles.html#h-14.2.3 +sub http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.3 +sup http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.3 +table http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#h-11.2.1 +tbody http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#h-11.2.3 +td http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#h-11.2.6 +textarea http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.7 +tfoot http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#h-11.2.3 +td http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#h-11.2.6 +th http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#h-11.2.6 +thead http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#h-11.2.3 +title http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.4.2 +tr http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#h-11.2.5 +tt http://www.w3.org/TR/1999/REC-html401-19991224/present/graphics.html#h-15.2.1 +u http://www.w3.org/TR/1999/REC-html401-19991224/present/graphics.html#h-15.2.1 +ul http://www.w3.org/TR/1999/REC-html401-19991224/struct/lists.html#h-10.2 +var http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.1 --- wdg-html-validator-1.6.2.orig/templates/html20links.txt.en +++ wdg-html-validator-1.6.2/templates/html20links.txt.en @@ -0,0 +1,48 @@ +html http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.1 +head http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.2 +title http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.2.1 +base http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.2.2 +isindex http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.2.3 +link http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.2.4 +meta http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.2.5 +nextid http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.2.6 +body http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.3 +h1 http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.4 +h2 http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.4 +h3 http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.4 +h4 http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.4 +h5 http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.4 +h6 http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.4 +p http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.5.1 +pre http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.5.2 +xmp http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.5.2.1 +listing http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.5.2.1 +address http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.5.3 +blockquote http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.5.4 +ul http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.6.1 +li http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.6.1 +ol http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.6.2 +dir http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.6.3 +menu http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.6.4 +dl http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.6.5 +dt http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.6.5 +dd http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.6.5 +cite http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.7.1.1 +code http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.7.1.2 +em http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.7.1.3 +kbd http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.7.1.4 +samp http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.7.1.5 +strong http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.7.1.6 +var http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.7.1.7 +b http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.7.2.1 +i http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.7.2.2 +tt http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.7.2.3 +a http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.7.3 +br http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.8 +hr http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.9 +img http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.10 +form http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.1.1 +input http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.1.2 +select http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.1.3 +option http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.1.3.1 +textarea http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.1.4 --- wdg-html-validator-1.6.2.orig/templates/html30links.txt.en +++ wdg-html-validator-1.6.2/templates/html30links.txt.en @@ -0,0 +1,61 @@ +abbrev http://www.w3.org/MarkUp/html3/logical.html +acronym http://www.w3.org/MarkUp/html3/logical.html +address http://www.w3.org/MarkUp/html3/address.html +a http://www.w3.org/MarkUp/html3/anchors.html +au http://www.w3.org/MarkUp/html3/logical.html +banner http://www.w3.org/MarkUp/html3/banners.html +b http://www.w3.org/MarkUp/html3/emphasis.html +big http://www.w3.org/MarkUp/html3/emphasis.html +blockquote http://www.w3.org/MarkUp/html3/blockquotes.html +body http://www.w3.org/MarkUp/html3/docbody.html +bq http://www.w3.org/MarkUp/html3/blockquotes.html +br http://www.w3.org/MarkUp/html3/lbreak.html +cite http://www.w3.org/MarkUp/html3/logical.html +code http://www.w3.org/MarkUp/html3/logical.html +del http://www.w3.org/MarkUp/html3/logical.html +dfn http://www.w3.org/MarkUp/html3/logical.html +div http://www.w3.org/MarkUp/html3/divisions.html +dl http://www.w3.org/MarkUp/html3/deflists.html +em http://www.w3.org/MarkUp/html3/logical.html +fig http://www.w3.org/MarkUp/html3/figures.html +fn http://www.w3.org/MarkUp/html3/footnotes.html +form http://www.w3.org/MarkUp/html3/forms.html +h1 http://www.w3.org/MarkUp/html3/headings.html +h2 http://www.w3.org/MarkUp/html3/headings.html +h3 http://www.w3.org/MarkUp/html3/headings.html +h4 http://www.w3.org/MarkUp/html3/headings.html +h5 http://www.w3.org/MarkUp/html3/headings.html +h6 http://www.w3.org/MarkUp/html3/headings.html +head http://www.w3.org/MarkUp/html3/dochead.html +hr http://www.w3.org/MarkUp/html3/rules.html +i http://www.w3.org/MarkUp/html3/emphasis.html +img http://www.w3.org/MarkUp/html3/img.html +input http://www.w3.org/MarkUp/html3/forms.html +ins http://www.w3.org/MarkUp/html3/logical.html +kbd http://www.w3.org/MarkUp/html3/logical.html +lang http://www.w3.org/MarkUp/html3/logical.html +math http://www.w3.org/MarkUp/html3/maths.html +note http://www.w3.org/MarkUp/html3/notes.html +ol http://www.w3.org/MarkUp/html3/seqlists.html +option http://www.w3.org/MarkUp/html3/forms.html +person http://www.w3.org/MarkUp/html3/logical.html +p http://www.w3.org/MarkUp/html3/paras.html +pre http://www.w3.org/MarkUp/html3/literal.html +q http://www.w3.org/MarkUp/html3/logical.html +samp http://www.w3.org/MarkUp/html3/logical.html +select http://www.w3.org/MarkUp/html3/forms.html +s http://www.w3.org/MarkUp/html3/emphasis.html +small http://www.w3.org/MarkUp/html3/emphasis.html +strong http://www.w3.org/MarkUp/html3/logical.html +sub http://www.w3.org/MarkUp/html3/emphasis.html +sup http://www.w3.org/MarkUp/html3/emphasis.html +tab http://www.w3.org/MarkUp/html3/tabs.html +table http://www.w3.org/MarkUp/html3/tables.html +td http://www.w3.org/MarkUp/html3/tables.html +textarea http://www.w3.org/MarkUp/html3/forms.html +th http://www.w3.org/MarkUp/html3/tables.html +tr http://www.w3.org/MarkUp/html3/tables.html +tt http://www.w3.org/MarkUp/html3/emphasis.html +u http://www.w3.org/MarkUp/html3/emphasis.html +ul http://www.w3.org/MarkUp/html3/bulletlists.html +var http://www.w3.org/MarkUp/html3/logical.html