if(tag.getName() == null || "".equals(tag.getName().trim()))
throw new RuntimeException("tag in " + tldPath + " has no name");
tag.setName(tag.getName().trim());
String tagClass = tag.getTagClass();
Class clazz = new ClassUtils().loadClass(tagClass, "tag-class");
tagClassesByTag.put(tag, clazz);
for(TagAttribute attribute : tag.getAttributes()) {
String type = attribute.getAttributeType();
type = type == null ? type : type.trim();