outputFile = outputDir + "/" + testName + ".out";
File outputFileF = new File(outputFile);
outputFileF.createNewFile();
StreamResult result = new StreamResult(outputFileF);
try {
qc.runQuery(dqc, result, outputProps);
} catch (XPathException err) {
if (!err.hasBeenReported()) {
log.println(err.getMessage());
}
processError(err, testCase, testName, filePath + queryName + ".xq", expectedErrorNT, specVersionAtt);