});
// builder.setEntityResolver(new NullEntityResolver());
return builder.parse(source).getDocumentElement();
} catch (ParserConfigurationException e) {
throw new ToolException("parsing.parserConfigException", e);
} catch (FactoryConfigurationError e) {
throw new ToolException("parsing.factoryConfigException", e);
} catch (SAXException e) {
throw new ToolException("parsing.saxException", e);
} catch (IOException e) {
throw new ToolException("parsing.saxException", e);
}
}