Michael Kay - 2005-05-26

Logged In: YES
user_id=251681

The following patch fixes this problem. In line 84 of
new.sf.saxon.ArrayIterator, change

    int newEnd = newStart + (max - min + 1);

to

    int newEnd = (max == Integer.MAX_VALUE ? currentEnd

: newStart + (max - min + 1));

Michael Kay