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 2001/09/27 21:30:46 UTC
cvs commit: xml-xalan/c/samples/SimpleXPathAPI SimpleXPathAPI.cpp
dbertoni 01/09/27 12:30:46
Modified: c/samples/SimpleXPathAPI SimpleXPathAPI.cpp
Log:
Use document element as prefix resolver.
Revision Changes Path
1.5 +2 -2 xml-xalan/c/samples/SimpleXPathAPI/SimpleXPathAPI.cpp
Index: SimpleXPathAPI.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/samples/SimpleXPathAPI/SimpleXPathAPI.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- SimpleXPathAPI.cpp 2001/08/08 17:40:52 1.4
+++ SimpleXPathAPI.cpp 2001/09/27 19:30:46 1.5
@@ -89,7 +89,7 @@
theDOMSupport,
theDocument,
XalanDOMString(argv[2]).c_str(),
- 0);
+ theDocument->getDocumentElement());
if (theContextNode == 0)
{
@@ -109,7 +109,7 @@
theDOMSupport,
theContextNode,
XalanDOMString(argv[3]).c_str(),
- 0));
+ theDocument->getDocumentElement()));
assert(theResult.null() == false);
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org