summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2006-11-08 01:18:49 +0000
committerot <ot@localhost>2006-11-08 01:18:49 +0000
commit6e99a44fba4fb4daa76ff0fcbbe90f041ea44ef4 (patch)
treecbeaf04dcddf8cc33124cf095b3a1e1cace37a47
parent7b8c6e3ca6b6fd619fb518914b9925072d2a1a43 (diff)
downloadmarkup-validator-6e99a44fba4fb4daa76ff0fcbbe90f041ea44ef4.zip
markup-validator-6e99a44fba4fb4daa76ff0fcbbe90f041ea44ef4.tar.gz
markup-validator-6e99a44fba4fb4daa76ff0fcbbe90f041ea44ef4.tar.bz2
* fix for latest s:p:o named 0.100, confuses perl thinking it's <= 0.99, which we require...
* fixing the passing of options (including XML mode, see bug #798) to s:p:o, hat tip to Bjoern Hoehrmann
-rwxr-xr-xhttpd/cgi-bin/check7
1 files changed, 4 insertions, 3 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index 39dd8fe..d29ec69 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -14,7 +14,7 @@
# This source code is available under the license at:
# http://www.w3.org/Consortium/Legal/copyright-software
#
-# $Id: check,v 1.465 2006-11-01 02:03:05 ot Exp $
+# $Id: check,v 1.466 2006-11-08 01:18:49 ot Exp $
#
# Disable buffering on STDOUT!
@@ -55,7 +55,7 @@ use URI::Escape qw(uri_escape);
use Encode qw();
use Encode::Alias qw();
use HTML::Encoding 0.52 qw();
-use SGML::Parser::OpenSP 0.99 qw();
+use SGML::Parser::OpenSP qw();
###############################################################################
#### Constant definitions. ####################################################
@@ -180,7 +180,7 @@ Directory not readable (permission denied): @_r
#
# Strings
- $VERSION = q$Revision: 1.465 $;
+ $VERSION = q$Revision: 1.466 $;
$VERSION =~ s/Revision: ([\d\.]+) /$1/;
#
@@ -600,6 +600,7 @@ sub parse (\$) {
$opensp->search_dirs($CFG->{Paths}->{SGML}->{Library});
$opensp->catalogs($catalog);
$opensp->show_error_numbers(1);
+ $opensp->warnings(@spopt);
#
# Restricted file reading is disabled on Win32 for the time