ResolvedResource resolvedResource = c.resolveResource(
ResourceType.RESOURCE_INDEX, resourceIndexURL);
indexFile = resolvedResource.getCacheResourceCopy();
}
final ResourceIndex ri = ResourceIndex.INSTANCE;
ri.loadIndex(indexFile);
final Index index = ri.getIndex();
final List<ResourceLocation> nsr = index.getNamespaceResources();
final Map<String, NamespaceHeader> hvals;
if (hasItems(nsr)) {