dbertoni 00/05/15 08:54:12
Modified: c/src/XPath XObject.cpp
Log:
Fixed bug in nodeset comparisons.
Revision Changes Path
1.6 +2 -2 xml-xalan/c/src/XPath/XObject.cpp
Index: XObject.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XObject.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- XObject.cpp 2000/05/05 15:09:08 1.5
+++ XObject.cpp 2000/05/15 15:54:11 1.6
@@ -250,11 +250,11 @@
for(unsigned int k = 0; k < len2 && theResult == false; k++)
{
- const XalanNode* const theRHSNode =
theLHSNodeSet.item(i);
+ const XalanNode* const theRHSNode =
theRHSNodeSet.item(k);
assert(theRHSNode != 0);
const XalanDOMString s2 =
- theTypeFunction(*theLHSNode);
+ theTypeFunction(*theRHSNode);
if(theCompareFunction(s1, s2) == true)
{