You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2002/10/31 09:09:57 UTC
cvs commit: xml-xalan/c/samples/XPathWrapper XPathWrapper.cpp
dbertoni 2002/10/31 00:09:57
Modified: c/samples/XPathWrapper XPathWrapper.cpp
Log:
Updates for new signatures.
Revision Changes Path
1.19 +4 -0 xml-xalan/c/samples/XPathWrapper/XPathWrapper.cpp
Index: XPathWrapper.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/samples/XPathWrapper/XPathWrapper.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- XPathWrapper.cpp 26 Jul 2002 15:38:32 -0000 1.18
+++ XPathWrapper.cpp 31 Oct 2002 08:09:56 -0000 1.19
@@ -39,6 +39,7 @@
#include <XPath/XObjectFactoryDefault.hpp>
#include <XPath/XPath.hpp>
+#include <XPath/XPathConstructionContextDefault.hpp>
#include <XPath/XPathEnvSupportDefault.hpp>
#include <XPath/XPathExecutionContextDefault.hpp>
#include <XPath/XPathInit.hpp>
@@ -131,6 +132,7 @@
XPathEnvSupportDefault theEnvSupport;
XObjectFactoryDefault theXObjectFactory;
XPathExecutionContextDefault theExecutionContext(theEnvSupport, theDOMSupport, theXObjectFactory);
+ XPathConstructionContextDefault theXPathConstructionContext;
XPathFactoryDefault theXPathFactory;
XPathProcessorImpl theXPathProcessor;
@@ -140,6 +142,7 @@
XPath* const contextXPath = theXPathFactory.create();
theXPathProcessor.initXPath(*contextXPath,
+ theXPathConstructionContext,
XalanDOMString(context),
ElementPrefixResolverProxy(rootElem, theEnvSupport, theDOMSupport));
@@ -179,6 +182,7 @@
// and now get the result of the primary xpath expression
XPath* const xpath = theXPathFactory.create();
theXPathProcessor.initXPath(*xpath,
+ theXPathConstructionContext,
TranscodeFromLocalCodePage(expr),
ElementPrefixResolverProxy(rootElem, theEnvSupport, theDOMSupport));
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org