gianugo     2003/04/11 05:29:37

  Modified:    java/src/org/apache/xindice/core/query
                        XPathQueryResolver.java
  Log:
  This should make Gump happy. So far all my tests have been succesful
  so i don't expect that anything breaks, but you never know so feedback
  is much appreciated, given also the level of undocumented black magic
  that this class has.
  
  NOTE: this doesn't mean that we can upgrade Xalan, since Xupdate would break
  with 2.4.1 (hope to fix that soon)
  
  Revision  Changes    Path
  1.11      +2 -2      
xml-xindice/java/src/org/apache/xindice/core/query/XPathQueryResolver.java
  
  Index: XPathQueryResolver.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xindice/java/src/org/apache/xindice/core/query/XPathQueryResolver.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- XPathQueryResolver.java   27 Mar 2003 07:05:32 -0000      1.10
  +++ XPathQueryResolver.java   11 Apr 2003 12:29:37 -0000      1.11
  @@ -538,7 +538,7 @@
         private Object evalFunction(String owner, int pos) throws Exception {
            int idx = Compiler.getFirstChildPos(pos);
            int id = cmp.getOp(idx);
  -         int endFunc = pos + cmp.getOpMap()[pos+1] - 1;
  +         int endFunc = cmp.getOp(pos +1) - 1;
   
            List args = new ArrayList();
            int lp = idx+1;
  
  
  

Reply via email to