Resolver resolver = ResolverWrapper.getInstance();
CatalogResolver catResolver = resolver.getCatalogResolver();
if(Log.isDebugEnabled(Log.XML_RESOLVER)) {
Log.debug(Log.XML_RESOLVER, "Trying to resolve "+href+":"+base);
}
Source s = catResolver.resolve(href, base);
boolean isFile = false;
try {
final File file = new File(s.getSystemId());
isFile = file.isFile();