+ xqtsVersion + ", target version: " + targetXQTSVersion;
}
protected static int countTests(final String testPath) throws XPathExpressionException {
final XPath xpath = XPathFactory.newInstance().newXPath();
NamespaceBinder resolver = new NamespaceBinder();
resolver.declarePrefix(CATALONG_URI_PREFIX, CATALONG_URI);
xpath.setNamespaceContext(resolver);
final String count = "count(" + testPath + ")";
XPathExpression expr = xpath.compile(count);
final Document catalog = catalogPool.borrowObject();
final Double d = (Double) expr.evaluate(catalog, XPathConstants.NUMBER);