mDtdIntSubset = dtdParser.parse();
// Get general entities
Vector v = mDtdIntSubset.getItemsByType(DTDEntity.class);
Enumeration e = v.elements();
while(e.hasMoreElements()) {
DTDEntity entity = (DTDEntity) e.nextElement();
if (!entity.isParsed()) {
defineEntityReplacementText(entity.getName(),
entity.getValue());
}
}
// Get default attributes
v = mDtdIntSubset.getItemsByType(DTDAttlist.class);