dbertoni 2002/09/18 22:19:31
Modified: c/src/XPath XPath.cpp
Log:
Use local name instead of value for matching namespaces.
Revision Changes Path
1.74 +2 -2 xml-xalan/c/src/XPath/XPath.cpp
Index: XPath.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XPath.cpp,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- XPath.cpp 5 Sep 2002 01:38:03 -0000 1.73
+++ XPath.cpp 19 Sep 2002 05:19:31 -0000 1.74
@@ -2965,7 +2965,7 @@
assert(theAttrNode != 0);
const XalanDOMString& theNamespace =
-
theAttrNode->getValue();
+
theAttrNode->getLocalName();
assert(queueIndex >= 0);
@@ -3660,7 +3660,7 @@
{
assert(m_targetLocalName != 0);
- return ::equals(context.getNodeValue(), *m_targetLocalName);
+ return ::equals(context.getLocalName(), *m_targetLocalName);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]