"doc('" + doc.getURI().toString() + "')/v:version/v:diff/*",
Sequence.EMPTY_SEQUENCE, AccessContext.TEST);
} catch (PermissionDeniedException e) {
throw new XPathException(e);
}
for (SequenceIterator i = changes.iterate(); i.hasNext(); ) {
NodeProxy p = (NodeProxy) i.nextItem();
Element child = (Element) p.getNode();
if (child.getNodeType() == Node.ELEMENT_NODE &&
child.getNamespaceURI().equals(StandardDiff.NAMESPACE)) {
NodeId id = parseRef(broker, child, "ref");