compiled = xquery.compile(context, GET_CONFLICTING_REV_SOURCE);
try {
Sequence s = xquery.execute(compiled, Sequence.EMPTY_SEQUENCE);
return !s.isEmpty();
} finally {
pool.returnCompiledXQuery(GET_CONFLICTING_REV_SOURCE, compiled);
}
}
public static long getBaseRevision(DBBroker broker, XmldbURI docPath, long baseRev, String sessionKey) throws XPathException, IOException, PermissionDeniedException {
String docName = docPath.lastSegment().toString();