InputStream stream = new URL(queryFile).openStream();
String query = IOUtil.readString(new InputStreamReader(stream, "UTF-8"));
stream.close();
try {
QueryParser parser = new SeRQLParser();
parser.parseQuery(query, null);
if (MFX_PARSE_ERROR.equals(result)) {
fail("Negative syntax test failed. Malformed query caused no error.");
}
}
catch (MalformedQueryException e) {