for (Enumeration en = loc.getResources("metainfo/tld/config.xml");
en.hasMoreElements();) {
final URL url = (URL)en.nextElement();
if (log.debugable()) log.debug("Loading "+url);
try {
final Document doc = new SAXBuilder(false, false, true).build(url);
if (IDOMs.checkVersion(doc, url))
parseConfig(urls, doc.getRootElement(), loc);
} catch (Exception ex) {
log.error("Failed to parse "+url, ex); //keep running
}