You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ja...@apache.org on 2001/05/06 01:12:42 UTC
cvs commit: xml-xerces/perl/t TestUtils.pm
jasons 01/05/05 16:12:42
Modified: perl/t TestUtils.pm
Log:
* t/TestUtils.pm (Repository):
uses new ErrorHandler interface
Revision Changes Path
1.9 +1 -4 xml-xerces/perl/t/TestUtils.pm
Index: TestUtils.pm
===================================================================
RCS file: /home/cvs/xml-xerces/perl/t/TestUtils.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- TestUtils.pm 2001/04/13 22:25:45 1.8
+++ TestUtils.pm 2001/05/05 23:12:41 1.9
@@ -28,10 +28,7 @@
$DOM = new XML::Xerces::DOMParser;
$DOM->setToCreateXMLDeclTypeNode(1);
- my $ERROR_HANDLER = XML::Xerces::perlErrorHandler->new();
- $ERROR_HANDLER->setWarningFunction(\&XML::Xerces::warning);
- $ERROR_HANDLER->setErrorFunction(\&XML::Xerces::error);
- $ERROR_HANDLER->setFatalErrorFunction(\&XML::Xerces::fatal_error);
+ my $ERROR_HANDLER = XML::Xerces::PerlErrorHandler->new();
$DOM->setErrorHandler($ERROR_HANDLER);
my $cwd = cwd();
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org