} catch (XPathException err) {
// can't return the exception now; but we can rely on the fact that
// (a) it wouldn't have failed unless there was something to sort, and
// (b) it's going to fail again when next() is called
count = -1;
base = new ErrorIterator(err);
return true;
}
}
} else {
return (position < count);