if (isDescriptorFile(name)) {
settings.debug("Loading descriptor " + getScanner().getURL() + "\n");
loadDescriptor();
} else if (isPackageFile(name)) {
ConfigResource resource = new ConfigResource(getScanner().getURL(), name);
ConfigEntryFactory factory = getConfigSettings().getConfigEntryFactory();
ConfigEntry subEntry = createSubEntry(name, resource, factory);
InputStream istream = null;