validator/httpd/cgi-bin check,1.550,1.551

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

Modified Files:
	check 
Log Message:
Back down to unversioned XML::LibXML, load_catalog no longer used.

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.550
retrieving revision 1.551
diff -u -d -r1.550 -r1.551
--- check	26 Jul 2007 03:49:40 -0000	1.550
+++ check	26 Jul 2007 21:41:51 -0000	1.551
@@ -61,7 +61,7 @@
 use SGML::Parser::OpenSP      qw();
 use URI                       qw();
 use URI::Escape               qw(uri_escape);
-use XML::LibXML          1.53 qw(); # Need 1.53 for $p->load_catalog.
+use XML::LibXML               qw();
 
 ###############################################################################
 #### Constant definitions. ####################################################
@@ -634,7 +634,7 @@
   $xmlparser->line_numbers(1);
   $xmlparser->validation(0);
   $xmlparser->load_ext_dtd(0);
-  # [NOT] loading the XML catalog for entities resolution as it seems to cause a lot of unnecessary DTD/entities fetching
+  # [NOT] loading the XML catalog for entities resolution as it seems to cause a lot of unnecessary DTD/entities fetching (requires >= 1.53 if enabled)
   #$xmlparser->load_catalog( File::Spec->catfile($CFG->{Paths}->{SGML}->{Library}, 'xml.soc') );
   my $xml_string = join"\n",@{$File->{Content}};
   # the XML parser will check the value of encoding attribute in XML declaration

Received on Thursday, 26 July 2007 21:42:03 UTC