// Get default attributes
v = mDtdIntSubset.getItemsByType(DTDAttlist.class);
e = v.elements();
while(e.hasMoreElements()) {
DTDAttlist list = (DTDAttlist) e.nextElement();
DTDAttribute[] atts = list.getAttribute();
for (int i=0; i < atts.length; i++) {
DTDAttribute att = atts[i];
if (att.getDefaultValue() != null) {
if (defaultAttributes == null)
defaultAttributes = new HashMap();
defaultAttributes.put(list.getName(), list);
}
}
}
} catch (IOException ioe) {
//System.out.println(ioe);