System.out.println("node set compare");
	protected Sequence nodeSetCompare(		NodeSet nodes,		Sequence contextSequence)		throws XPathException {		System.out.println("node set compare");		NodeSet result = new ExtArrayNodeSet();		NodeProxy current;		ContextItem c;		Sequence rs;		AtomicValue lv, rv;		for (Iterator i = nodes.iterator(); i.hasNext();) {			current = (NodeProxy) i.next();			c = current.getContext();			do {				lv = current.atomize();				rs = getRight().eval(c.getNode().toSequence());				if(rs.getLength() != 1)					throw new XPathException("Type error: sequence with less or more than one item is not allowed here");				if(compareValues(lv, rs.itemAt(0).atomize()))					result.add(current);			} while ((c = c.getNextItem()) != null);		}		return result;	}