LOG.debug("found " + set.getLength());
	public Sequence eval(Sequence contextSequence, Item contextItem)		throws XPathException {		if (contextItem != null)			contextSequence = contextItem.toSequence();		NodeSet set = expression.eval(contextSequence).toNodeSet();		LOG.debug("found " + set.getLength());		if(set.getLength() == 0)			return Sequence.EMPTY_SEQUENCE;		switch(axis) {			case Constants.DESCENDANT_SELF_AXIS:				set = set.selectAncestorDescendant(contextSequence.toNodeSet(), NodeSet.DESCENDANT, true, inPredicate);				break;			case Constants.CHILD_AXIS:				set = set.selectParentChild(contextSequence.toNodeSet(), NodeSet.DESCENDANT, inPredicate);				break;			default:				throw new XPathException("Wrong axis specified");		}		return set;	}