Hi,
Here is the patch for bug 11123
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11123).
Morris Kwan
XSLT Development
IBM Toronto Lab
Tel: (905)413-3729
Email: [EMAIL PROTECTED]
Index: org/apache/xpath/axes/BasicTestIterator.java
===================================================================
RCS file:
/home/cvspublic/xml-xalan/java/src/org/apache/xpath/axes/BasicTestIterator.java,v
retrieving revision 1.2
diff -u -r1.2 BasicTestIterator.java
--- org/apache/xpath/axes/BasicTestIterator.java 22 Mar 2002 01:04:42 -0000 1.2
+++ org/apache/xpath/axes/BasicTestIterator.java 1 Aug 2002 17:39:19 -0000
@@ -113,7 +113,10 @@
public int nextNode()
{
if(m_foundLast)
- return DTM.NULL;
+ {
+ m_lastFetched = DTM.NULL;
+ return DTM.NULL;
+ }
if(DTM.NULL == m_lastFetched)
{