Skip to content
Snippets Groups Projects
Commit 3e33ff01 authored by David Abram Cargill's avatar David Abram Cargill
Browse files

Fix reset bug in sample.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@314887 13f79535-47bb-0310-9956-ffa450edef68
parent d953b336
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ void SAX2CountHandlers::ignorableWhitespace( const XMLCh* const /* chars */
fSpaceCount += length;
}
void SAX2CountHandlers::resetDocument()
void SAX2CountHandlers::startDocument()
{
fAttrCount = 0;
fCharacterCount = 0;
......
......@@ -72,7 +72,7 @@ public:
void startElement(const XMLCh* const uri, const XMLCh* const localname, const XMLCh* const qname, const Attributes& attrs);
void characters(const XMLCh* const chars, const unsigned int length);
void ignorableWhitespace(const XMLCh* const chars, const unsigned int length);
void resetDocument();
void startDocument();
// -----------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment