String resourceclass = attributes.getValue(CLASS_ATTR);
try {
Class c = Class.forName(resourceclass);
resourceStack.push(c.newInstance());
} catch (Exception ex) {
UnknownResource unknown = new UnknownResource();
resourceStack.push(unknown);
}
Hashtable defs = new Hashtable(5);
defsStack.push(defs);
} else if (iname == iATTRIBUTE_TAG) {