sboag 00/03/16 18:57:38
Modified: src/org/apache/xalan/xpath Tag: Bxalan_1_0_0
XPathProcessorImpl.java
Log:
Fixed dumb bug for namespace axes.
Revision Changes Path
No revision
No revision
1.26.2.2 +2 -2
xml-xalan/src/org/apache/xalan/xpath/XPathProcessorImpl.java
Index: XPathProcessorImpl.java
===================================================================
RCS file:
/home/cvs/xml-xalan/src/org/apache/xalan/xpath/XPathProcessorImpl.java,v
retrieving revision 1.26.2.1
retrieving revision 1.26.2.2
diff -u -r1.26.2.1 -r1.26.2.2
--- XPathProcessorImpl.java 2000/03/15 15:22:50 1.26.2.1
+++ XPathProcessorImpl.java 2000/03/17 02:57:37 1.26.2.2
@@ -2245,9 +2245,9 @@
{
if(XPath.FROM_NAMESPACE == axesType)
{
- String prefix =
(String)this.m_xpath.m_tokenQueue[this.m_xpath.m_opMap[m_queueMark-1]];
+ String prefix = (String)this.m_xpath.m_tokenQueue[m_queueMark-1];
String namespace =
((PrefixResolver)m_namespaceContext).getNamespaceForPrefix(prefix);
- this.m_xpath.m_tokenQueue[this.m_xpath.m_opMap[m_queueMark-1]] =
namespace;
+ this.m_xpath.m_tokenQueue[m_queueMark-1] = namespace;
}
m_xpath.m_opMap[m_xpath.m_opMap[XPath.MAPINDEX_LENGTH]] =
m_queueMark-1;
}