mkwan       2002/09/06 10:38:37

  Modified:    java/src/org/apache/xpath/axes SelfIteratorNoPredicate.java
  Log:
  For Bugzilla 11809 and 10643. Fix the nextNode() interface so that
  it returns DTM.NULL if the m_foundLast flag is true.
  
  Revision  Changes    Path
  1.7       +3 -0      
xml-xalan/java/src/org/apache/xpath/axes/SelfIteratorNoPredicate.java
  
  Index: SelfIteratorNoPredicate.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xpath/axes/SelfIteratorNoPredicate.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SelfIteratorNoPredicate.java      22 Mar 2002 01:04:43 -0000      1.6
  +++ SelfIteratorNoPredicate.java      6 Sep 2002 17:38:37 -0000       1.7
  @@ -63,6 +63,9 @@
      */
     public int nextNode()
     {
  +    if (m_foundLast)
  +      return DTM.NULL;
  +      
       int next;
       DTM dtm = m_cdtm;
   
  
  
  

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

Reply via email to