final List<Object[]> xelmtds = new LinkedList<Object[]>();
final List<VariableResolver> resolvers = new LinkedList<VariableResolver>();
String[] exts = null;
ErrorHandler errh = null;
for (Iterator it = root.getElements().iterator(); it.hasNext();) {
final Element el = (Element)it.next();
final String elnm = el.getName();
if ("action".equals(elnm)) {
defs.add(parseAction(el));
} else if ("error-handler-class".equals(elnm)) {
final String clsnm = el.getText(true);
noELnorEmpty(elnm, clsnm, el);
errh = (ErrorHandler)Classes.newInstanceByThread(clsnm);
} else if ("extensions".equals(elnm)) {
final String s = el.getText(true);
noEL(elnm, s, el);
exts = parseExtensions(s);
} else if ("taglib".equals(elnm)) {
final String uri = IDOMs.getRequiredAttributeValue(el, "uri");
noELnorEmpty("uri", uri, el);