@Override protected void scanPlatform() { super.scanPlatform(); if (URLClassLoaderFirst.shouldSkipJsf(Thread.currentThread().getContextClassLoader(), "javax.faces.FactoryFinder")) { uriTldResourcePathMapParent.putAll(URI_TLD_RESOURCE); tldResourcePathTaglibXmlMapParent.putAll(TLD_RESOURCE_TAG_LIB); } else { // exclude myfaces for (final Map.Entry<String, TldResourcePath> entry : URI_TLD_RESOURCE.entrySet()) { final TldResourcePath path = entry.getValue(); if (path.getUrl() != MYFACES_URL) { // ref works uriTldResourcePathMapParent.put(entry.getKey(), path); final TaglibXml tl = TLD_RESOURCE_TAG_LIB.get(path); if (tl != null) { tldResourcePathTaglibXmlMapParent.put(path, tl); } } } } }
if (tldResourcePath.getUrl() == null) { err.jspError("jsp.error.tld.missing", prefix, uri);