diff options
author | link <link@localhost> | 2002-12-05 03:34:45 +0000 |
---|---|---|
committer | link <link@localhost> | 2002-12-05 03:34:45 +0000 |
commit | e85bb260e2751a63aaa488881d1a7b32a55eccea (patch) | |
tree | 9774829f02cd233edc072c28759f5298c72e36a5 | |
parent | 347a9c8c09c2ec244d0544726e3f7921c9485ef9 (diff) | |
download | markup-validator-e85bb260e2751a63aaa488881d1a7b32a55eccea.zip markup-validator-e85bb260e2751a63aaa488881d1a7b32a55eccea.tar.gz markup-validator-e85bb260e2751a63aaa488881d1a7b32a55eccea.tar.bz2 |
Preinitialize some datastructures. We now pass almost all test cases...
-rwxr-xr-x | httpd/cgi-bin/check | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index 2b914f8..d4e2a3d 100755 --- a/httpd/cgi-bin/check +++ b/httpd/cgi-bin/check @@ -9,7 +9,7 @@ # This source code is available under the license at: # http://www.w3.org/Consortium/Legal/copyright-software # -# $Id: check,v 1.312 2002-12-05 03:11:08 link Exp $ +# $Id: check,v 1.313 2002-12-05 03:34:45 link Exp $ # # Disable buffering on STDOUT! @@ -133,7 +133,7 @@ The error reported was: '$@' # # Strings - $VERSION = q$Revision: 1.312 $; + $VERSION = q$Revision: 1.313 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; } # end of BEGIN block. @@ -177,8 +177,10 @@ $File->{Charset}->{Override} = ''; # From CGI/user override. $File->{Offsets}->[0] = [0, 0]; # The first item isn't used... # -# List to hold line numbers for encoding errors -$File->{Lines} = []; +# Initialize datastructures. +$File->{Lines} = []; # Line numbers for encoding errors. +$File->{Warnings} = []; # Warnings... +$File->{'Other Namespaces'} = []; # Other (non-root) Namespaces. ######################################### |