Document doc = builder.parse(path);
m_element = doc.getDocumentElement();
m_folder = new File(new URI(path)).getParentFile();
addDefaults();
} catch (SAXException ex) {
throw new TestException(path + " is not valid because:\n" + ex.getMessage());
} catch (ParserConfigurationException exc) {
System.err.println(exc);
} catch (IOException exc) {
System.out.println(exc);
throw new TestException("Couldn't load " + path);
} catch (URISyntaxException exc) {
System.err.println(exc);
}
}