}
@Override
public Sequence eval(Sequence[] args, Sequence contextSequence) throws XPathException {
WorkingCopy wc = new WorkingCopy("", "");
String uri = args[0].getStringValue();
Resource wcDir = new Resource(uri);
try {
MemTreeBuilder builder = context.getDocumentBuilder();
AttributesImpl attribs = new AttributesImpl();
attribs.addAttribute("", "uri", "uri", "CDATA", uri);
//attribs.addAttribute("", "start", "start", "CDATA", Long.toString(startRevision));
int nodeNr = builder.startElement(INFO_ELEMENT, attribs);
wc.showInfo(wcDir, SVNRevision.WORKING, true, new InfoHandler(builder));
builder.endElement();
return builder.getDocument().getNode(nodeNr);
} catch (SVNException svne) {