ResolvingParser reader = new ResolvingParser();
Catalog catalog = reader.getCatalog();
for (int count = 0; count < catalogFiles.size(); count++) {
String file = (String) catalogFiles.elementAt(count);
catalog.parseCatalog(file);
}
XParseError xpe = new XParseError(showErrors, showWarnings);
xpe.setMaxMessages(maxErrs);
reader.setErrorHandler(xpe);