String href = zipEntry.getName();
Resource resource;
if (shouldLoadLazy(href, lazyLoadedTypes)) {
resource = new LazyResource(zipFile.getName(), zipEntry.getSize(), href);
} else {
resource = ResourceUtil.createResource(zipEntry, zipFile.getInputStream(zipEntry));
}
if(resource.getMediaType() == MediatypeService.XHTML) {