AttributeInfo attrInfo = new AttributeInfo(attrName, true, AttributeInfo.NONE, required);
tagInfo.addAttributeInfo(attrInfo);
Object attrType = attr.getType();
if (attrType instanceof DTDEnumeration) {
DTDEnumeration dtdEnum = (DTDEnumeration) attrType;
String[] items = dtdEnum.getItems();
for (int j = 0; j < items.length; j++) {
attrInfo.addValue(items[j]);
}
}
else if (attrType.equals("ID")) {