morten      01/09/20 07:22:36

  Modified:    java/src/org/apache/xalan/xsltc/dom AbsoluteIterator.java
  Log:
  This fix may affect a series of bugs. The AbsoluteIterator (/foo/bar/... etc.)
  did not update its _position variable, causing position() to return wrong
  values if called more than once.
  PR:           n/a
  Obtained from:        n/a
  Submitted by: [EMAIL PROTECTED]
  Reviewed by:  [EMAIL PROTECTED]
  
  Revision  Changes    Path
  1.4       +2 -3      
xml-xalan/java/src/org/apache/xalan/xsltc/dom/AbsoluteIterator.java
  
  Index: AbsoluteIterator.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/dom/AbsoluteIterator.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AbsoluteIterator.java     2001/08/16 13:23:11     1.3
  +++ AbsoluteIterator.java     2001/09/20 14:22:36     1.4
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: AbsoluteIterator.java,v 1.3 2001/08/16 13:23:11 morten Exp $
  + * @(#)$Id: AbsoluteIterator.java,v 1.4 2001/09/20 14:22:36 morten Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -75,8 +75,7 @@
       }
   
       public int next() {
  -     // Should never be called - well, it is!!!
  -     return _source.next();
  +     return returnNode(_source.next());
       }
        
       public NodeIterator setStartNode(int node) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to