// Read the builtin languages definition file
Configuration builtin;
try {
URLFactory factory = (URLFactory)this.manager.lookup(URLFactory.ROLE);
URLSource source = new URLSource(factory.getURL(xconfURL), this.manager);
try {
SAXConfigurationHandler handler = new SAXConfigurationHandler();
source.toSAX(handler);
builtin = handler.getConfiguration();
} finally {
this.manager.release((Component)factory);
if (source != null) {
source.recycle();
}
}
} catch(Exception e) {
String msg = "Error while reading treeprocessor.xconf : " + e.getMessage();
getLogger().error(msg, e);