Enumeration<? extends ZipEntry> iter = zip.entries();
while (iter.hasMoreElements() && result==null) {
ZipEntry el = iter.nextElement();
Path zipPath = new Path(el.getName());
if (root.isPrefixOf(zipPath)) {
String key = zipPath.removeFirstSegments(root.segmentCount()).toString();
if ("".equals(key)) {
//path maches exactly, this means we hit the root of the
// code set. Do not store it because the root of a codeset
// is not actually an element of the codeset!
} else {