domIter = proxy.doc.getBroker().getNodeIterator(proxy);
domIter = proxy.getDocument().getBroker().getNodeIterator(proxy);
	private final NodeSet getNodes() {		ExtArrayNodeSet result = new ExtArrayNodeSet();		Node p, c;		NodeProxy proxy;		NodeList cl;		Iterator domIter;		for (Iterator i = context.iterator(); i.hasNext();) {			proxy = (NodeProxy) i.next();			if (proxy.gid < 0) {				/* // commented out by Timo Boehme (document element is already part of virtual node set (not parent!))								proxy.gid = proxy.doc.getDocumentElementId();				*/				// -- inserted by Timo Boehme --				NodeProxy docElemProxy =					new NodeProxy(proxy.getDoc(), 1, Node.ELEMENT_NODE);				if (test.matches(docElemProxy))					result.add(docElemProxy);				if (axis == Constants.DESCENDANT_AXIS					|| axis == Constants.DESCENDANT_SELF_AXIS					|| axis == Constants.DESCENDANT_ATTRIBUTE_AXIS) {					domIter = docElemProxy.doc.getBroker().getNodeIterator(docElemProxy);					NodeImpl node = (NodeImpl) domIter.next();					node.setOwnerDocument(docElemProxy.doc);					node.setGID(docElemProxy.gid);					docElemProxy.match = proxy.match;					addChildren(docElemProxy, result, node, domIter, 0);				}				continue;				// -- end of insertion --			} else {				domIter = proxy.doc.getBroker().getNodeIterator(proxy);				NodeImpl node = (NodeImpl) domIter.next();				node.setOwnerDocument(proxy.doc);				node.setGID(proxy.gid);				addChildren(proxy, result, node, domIter, 0);			}		}		return result;	}