sboag       00/12/18 00:50:13

  Modified:    java/src/org/apache/xpath/functions FuncCurrent.java
  Log:
  Use PredicatedNodeTest instead of AxesWalker to get the current
  location path iterator.
  
  Revision  Changes    Path
  1.5       +2 -2      
xml-xalan/java/src/org/apache/xpath/functions/FuncCurrent.java
  
  Index: FuncCurrent.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xpath/functions/FuncCurrent.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- FuncCurrent.java  2000/11/13 16:27:33     1.4
  +++ FuncCurrent.java  2000/12/18 08:50:13     1.5
  @@ -67,7 +67,7 @@
   import org.apache.xpath.XPath;
   import org.apache.xpath.objects.XObject;
   import org.apache.xpath.objects.XNodeSet;
  -import org.apache.xpath.axes.AxesWalker;
  +import org.apache.xpath.axes.PredicatedNodeTest;
   import org.apache.xpath.axes.LocPathIterator;
   import org.apache.xpath.axes.ContextNodeList;
   
  @@ -105,7 +105,7 @@
     {
   
       // If we're in a predicate, then this will return non-null.
  -    AxesWalker iter = (AxesWalker) xctxt.getSubContextList();
  +    PredicatedNodeTest iter = (PredicatedNodeTest) xctxt.getSubContextList();
       Node currentNode;
   
       if (null != iter)
  
  
  

Reply via email to