You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ca...@apache.org on 2005/10/12 15:07:00 UTC

svn commit: r314884 - in /xerces/c/branches/xerces-2.7/samples/SAX2Count: SAX2CountHandlers.cpp SAX2CountHandlers.hpp

Author: cargilld
Date: Wed Oct 12 06:06:58 2005
New Revision: 314884

URL: http://svn.apache.org/viewcvs?rev=314884&view=rev
Log:
Fix reset bug in sample.

Modified:
    xerces/c/branches/xerces-2.7/samples/SAX2Count/SAX2CountHandlers.cpp
    xerces/c/branches/xerces-2.7/samples/SAX2Count/SAX2CountHandlers.hpp

Modified: xerces/c/branches/xerces-2.7/samples/SAX2Count/SAX2CountHandlers.cpp
URL: http://svn.apache.org/viewcvs/xerces/c/branches/xerces-2.7/samples/SAX2Count/SAX2CountHandlers.cpp?rev=314884&r1=314883&r2=314884&view=diff
==============================================================================
--- xerces/c/branches/xerces-2.7/samples/SAX2Count/SAX2CountHandlers.cpp (original)
+++ xerces/c/branches/xerces-2.7/samples/SAX2Count/SAX2CountHandlers.cpp Wed Oct 12 06:06:58 2005
@@ -91,7 +91,7 @@
     fSpaceCount += length;
 }
 
-void SAX2CountHandlers::resetDocument()
+void SAX2CountHandlers::startDocument()
 {
     fAttrCount = 0;
     fCharacterCount = 0;

Modified: xerces/c/branches/xerces-2.7/samples/SAX2Count/SAX2CountHandlers.hpp
URL: http://svn.apache.org/viewcvs/xerces/c/branches/xerces-2.7/samples/SAX2Count/SAX2CountHandlers.hpp?rev=314884&r1=314883&r2=314884&view=diff
==============================================================================
--- xerces/c/branches/xerces-2.7/samples/SAX2Count/SAX2CountHandlers.hpp (original)
+++ xerces/c/branches/xerces-2.7/samples/SAX2Count/SAX2CountHandlers.hpp Wed Oct 12 06:06:58 2005
@@ -94,8 +94,7 @@
     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();    
 
     // -----------------------------------------------------------------------
     //  Handlers for the SAX ErrorHandler interface



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org