W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2007

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

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 26 Jul 2007 21:41:54 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1IEB5m-0004RT-3d@lionel-hutz.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:58 GMT