- From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 10 Mar 2010 20:51:40 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin In directory hutz:/tmp/cvs-serv14231/httpd/cgi-bin Modified Files: check Log Message: Require XML::LibXML >= 1.70 for structured error bugfixes. Index: check =================================================================== RCS file: /sources/public/validator/httpd/cgi-bin/check,v retrieving revision 1.772 retrieving revision 1.773 diff -u -d -r1.772 -r1.773 --- check 9 Mar 2010 19:50:56 -0000 1.772 +++ check 10 Mar 2010 20:51:38 -0000 1.773 @@ -61,7 +61,7 @@ use SGML::Parser::OpenSP 0.991 qw(); use URI qw(); use URI::Escape qw(uri_escape); -use XML::LibXML 1.69 qw(); # Need 1.69 for (working) structured errors +use XML::LibXML 1.70 qw(); # Need 1.70 for (working) structured errors ############################################################################### #### Constant definitions. #################################################### @@ -645,9 +645,7 @@ my $err; $err->{src} = '...'; # do this with show_open_entities()? $err->{line} = $err_obj->line(); - - # -> column() is available in XML::LibXML >= 1.69_2 - $err->{char} = eval { $err_obj->column() }; + $err->{char} = $err_obj->column(); $err->{num} = "libxml2-" . $err_obj->code(); $err->{type} = "E"; $err->{msg} = $err_obj->message();
Received on Wednesday, 10 March 2010 20:51:42 UTC