reset
523524525526527528529530531532533
{LOG.info("contextSet and outerNodeSet don't share any document");} final NewArrayNodeSet temp = new NewArrayNodeSet(100); for (final SequenceIterator i = ancestors.iterate(); i.hasNext();) { NodeProxy p = (NodeProxy) i.nextItem(); ContextItem contextNode = p.getContext(); temp.reset(); while (contextNode != null) { if (contextNode.getContextId() == getExpressionId()) {temp.add(contextNode.getNode());} contextNode = contextNode.getNextDirect(); }