You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mo...@apache.org on 2001/12/05 11:34:30 UTC

cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/compiler Predicate.java

morten      01/12/05 02:34:29

  Modified:    java/src/org/apache/xalan/xsltc/compiler Predicate.java
  Log:
  I am still fiddling around with predicates containing variable references
  and position filters.
  PR:		n/a
  Obtained from:	n/a
  Submitted by:	morten@xml.apache.org
  Reviewed by:	morten@xml.apache.org
  
  Revision  Changes    Path
  1.21      +3 -3      xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Predicate.java
  
  Index: Predicate.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Predicate.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- Predicate.java	2001/12/04 10:27:45	1.20
  +++ Predicate.java	2001/12/05 10:34:29	1.21
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: Predicate.java,v 1.20 2001/12/04 10:27:45 morten Exp $
  + * @(#)$Id: Predicate.java,v 1.21 2001/12/05 10:34:29 morten Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -208,8 +208,8 @@
   
   		    if (fexp instanceof KeyCall)
   			_canOptimize = false;
  -		    else if (fexp instanceof VariableRefBase)
  -			_canOptimize = false;
  +		    //else if (fexp instanceof VariableRefBase)
  +		    //    _canOptimize = false;
   		    else if (fexp instanceof ParentLocationPath)
   			_canOptimize = false;
   		    else if (fexp instanceof UnionPathExpr)
  
  
  

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