From 09c1b27c78b6a5e85f70a0e7cc4df126d7c9c914 Mon Sep 17 00:00:00 2001 From: "Unknown (roddey)" <dev-null@apache.org> Date: Tue, 11 Apr 2000 19:17:58 +0000 Subject: [PATCH] If a SAX error handler is installed, then the resetErrors() event handler should call the one on the installed SAX error handler. git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@172044 13f79535-47bb-0310-9956-ffa450edef68 --- src/parsers/SAXParser.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/parsers/SAXParser.cpp b/src/parsers/SAXParser.cpp index 04cdb90d6..5a044af2b 100644 --- a/src/parsers/SAXParser.cpp +++ b/src/parsers/SAXParser.cpp @@ -56,6 +56,10 @@ /* * $Log$ + * Revision 1.9 2000/04/11 19:17:58 roddey + * If a SAX error handler is installed, then the resetErrors() event handler + * should call the one on the installed SAX error handler. + * * Revision 1.8 2000/04/05 18:56:17 roddey * Init the fDTDHandler member. Enable installation of DTDHandler * on SAX parser. @@ -845,6 +849,8 @@ void SAXParser::TextDecl( const XMLCh* const // --------------------------------------------------------------------------- void SAXParser::resetErrors() { + if (fErrorHandler) + fErrorHandler->resetErrors(); } -- GitLab