// TOMEE-164 Optimization on reading built-in tld files
if (url.getPath().contains("jstl-1.2.jar")) {
return SKIP_TAGLIB;
}
if (url.getPath().contains("myfaces-impl")) { // we should return SKIP_TAGLIB too
final TldTaglib taglib = new TldTaglib();
final Listener listener = new Listener();
listener.setListenerClass("org.apache.myfaces.webapp.StartupServletContextListener");
taglib.getListener().add(listener);
return taglib;
}
try {
return TldTaglibXml.unmarshal(url);