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: [EMAIL PROTECTED]
  Reviewed by:  [EMAIL PROTECTED]
  
  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to