dbertoni 2002/09/18 22:59:36
Modified: c/src/XPath XPathProcessorImpl.cpp
Log:
Removed bogus code which replace namespace name token with namespace URI
token.
Revision Changes Path
1.60 +0 -19 xml-xalan/c/src/XPath/XPathProcessorImpl.cpp
Index: XPathProcessorImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathProcessorImpl.cpp,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- XPathProcessorImpl.cpp 5 Sep 2002 01:38:03 -0000 1.59
+++ XPathProcessorImpl.cpp 19 Sep 2002 05:59:36 -0000 1.60
@@ -2073,25 +2073,6 @@
}
else
{
- if (axisType == XPathExpression::eFROM_NAMESPACE)
- {
- const XObject* const theToken =
-
m_expression->getRelativeToken(-1);
- assert(theToken != 0);
-
- const XalanDOMString&
theString = theToken->str();
-
- const XalanDOMString* const
theNamespace =
-
m_prefixResolver->getNamespaceForPrefix(theString);
-
- if (theNamespace != 0)
- {
- m_expression->replaceRelativeToken(
-
-1,
-
*theNamespace);
- }
- }
-
m_expression->pushCurrentTokenOnOpCodeMap();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]