You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2006/03/22 10:34:09 UTC

svn commit: r387810 - in /xerces/c/branches/xerces-2.7/samples: PSVIWriter/PSVIWriter.cpp SCMPrint/SCMPrint.cpp

Author: amassari
Date: Wed Mar 22 01:34:07 2006
New Revision: 387810

URL: http://svn.apache.org/viewcvs?rev=387810&view=rev
Log:
Reflect changes in SAX2XMLReader.hpp header files

Modified:
    xerces/c/branches/xerces-2.7/samples/PSVIWriter/PSVIWriter.cpp
    xerces/c/branches/xerces-2.7/samples/SCMPrint/SCMPrint.cpp

Modified: xerces/c/branches/xerces-2.7/samples/PSVIWriter/PSVIWriter.cpp
URL: http://svn.apache.org/viewcvs/xerces/c/branches/xerces-2.7/samples/PSVIWriter/PSVIWriter.cpp?rev=387810&r1=387809&r2=387810&view=diff
==============================================================================
--- xerces/c/branches/xerces-2.7/samples/PSVIWriter/PSVIWriter.cpp (original)
+++ xerces/c/branches/xerces-2.7/samples/PSVIWriter/PSVIWriter.cpp Wed Mar 22 01:34:07 2006
@@ -53,7 +53,7 @@
 #include <xercesc/util/PlatformUtils.hpp>
 #include <xercesc/util/TransService.hpp>
 #include <xercesc/util/XMLString.hpp>
-#include <xercesc/sax2/SAX2XMLReader.hpp>
+#include <xercesc/parsers/SAX2XMLReaderImpl.hpp>
 #include <xercesc/sax2/XMLReaderFactory.hpp>
 #include <xercesc/util/OutOfMemoryException.hpp>
 

Modified: xerces/c/branches/xerces-2.7/samples/SCMPrint/SCMPrint.cpp
URL: http://svn.apache.org/viewcvs/xerces/c/branches/xerces-2.7/samples/SCMPrint/SCMPrint.cpp?rev=387810&r1=387809&r2=387810&view=diff
==============================================================================
--- xerces/c/branches/xerces-2.7/samples/SCMPrint/SCMPrint.cpp (original)
+++ xerces/c/branches/xerces-2.7/samples/SCMPrint/SCMPrint.cpp Wed Mar 22 01:34:07 2006
@@ -286,12 +286,12 @@
     }
     
     XMLGrammarPool *grammarPool;
-    SAX2XMLReaderImpl* parser;
+    SAX2XMLReader* parser;
     try
     {        
         grammarPool = new XMLGrammarPoolImpl(XMLPlatformUtils::fgMemoryManager);
 
-        parser = new SAX2XMLReaderImpl(XMLPlatformUtils::fgMemoryManager, grammarPool);
+        parser = XMLReaderFactory::createXMLReader(XMLPlatformUtils::fgMemoryManager, grammarPool);
         parser->setFeature(XMLUni::fgSAX2CoreNameSpaces, true);
         parser->setFeature(XMLUni::fgXercesSchema, true);
         parser->setFeature(XMLUni::fgXercesSchemaFullChecking, schemaFullChecking);



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