validator/httpd/cgi-bin check,1.753,1.754

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

Modified Files:
	check 
Log Message:
Add minimum required XML::LibXML version (best guess, not necessarily accurate)


Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.753
retrieving revision 1.754
diff -u -d -r1.753 -r1.754
--- check	14 Dec 2009 21:18:33 -0000	1.753
+++ check	14 Dec 2009 22:03:54 -0000	1.754
@@ -60,7 +60,7 @@
 use SGML::Parser::OpenSP 0.991 qw();
 use URI qw();
 use URI::Escape qw(uri_escape);
-use XML::LibXML qw();
+use XML::LibXML 1.56 qw();        # Need 1.56 for line_numbers()
 
 ###############################################################################
 #### Constant definitions. ####################################################
@@ -611,8 +611,7 @@
         $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 (requires >= 1.53 if
-        # enabled)
+        # cause a lot of unnecessary DTD/entities fetching
         #$xmlparser->load_catalog(catfile($CFG->{Paths}->{SGML}->{Library}, 'xml.soc'));
         my $xml_string = join "\n", @{$File->{Content}};
 

Received on Monday, 14 December 2009 22:04:05 UTC