for (int i = 0; i < queries.getLength(); i++) {
Element query = (Element) queries.item(i);
String[] typeNames = query.getAttribute("typeNames").split(" ");
for (String typeName : typeNames) {
queryTypes.addAll((List)new QNameKvpParser(null, catalog).parse(typeName));
}
}
}
catch (Exception e) {
throw new IOException(e);