if (indexOfDot > 0) {
path = path.substring(0, indexOfDot);
}
return path;
} else {
throw new InvalidNameException("Invalid taglib uri, no path defined " + uri);
}
} catch (IllegalArgumentException e) {
throw new InvalidNameException("Invalid taglib uri " + uri + " , " + e.getMessage());
}
}