validator/httpd/cgi-bin check,1.465,1.466

Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv26668

Modified Files:
	check 
Log Message:
* 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



Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.465
retrieving revision 1.466
diff -u -d -r1.465 -r1.466
--- check	1 Nov 2006 02:03:05 -0000	1.465
+++ check	8 Nov 2006 01:18:49 -0000	1.466
@@ -55,7 +55,7 @@
 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. ####################################################
@@ -600,6 +600,7 @@
   $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

Received on Wednesday, 8 November 2006 01:18:56 UTC