You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@apache.org on 2001/06/20 02:59:57 UTC

cvs commit: xml-xalan/java/src/org/apache/xpath/axes WalkerFactory.java

sboag       01/06/19 17:59:57

  Modified:    java/src/org/apache/xpath/axes WalkerFactory.java
  Log:
  Fix bug uncovered by Norm Walsh.  On call to function to test
  for a proximity function, pass opPos instead of op (duh).
  
  Revision  Changes    Path
  1.15      +1 -2      xml-xalan/java/src/org/apache/xpath/axes/WalkerFactory.java
  
  Index: WalkerFactory.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/axes/WalkerFactory.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- WalkerFactory.java	2001/06/12 19:16:23	1.14
  +++ WalkerFactory.java	2001/06/20 00:59:57	1.15
  @@ -434,8 +434,7 @@
         case OpCodes.OP_LOCATIONPATH:
           break; // OK
         case OpCodes.OP_FUNCTION:
  -        boolean isProx 
  -          = functionProximateOrContainsProximate(compiler, op);
  +        boolean isProx = functionProximateOrContainsProximate(compiler, opPos);
           if(isProx)
             return true;
           break;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org