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/09/20 16:22:36 UTC
cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/dom AbsoluteIterator.java
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: morten@xml.apache.org
Reviewed by: morten@xml.apache.org
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: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org