"plain&only_with_tag=HEAD"
);
}
Document master = builder.build(baseURL.toExternalForm());
Element testsuite = master.getRootElement();
Elements testcases = testsuite.getChildElements("testcases");
for (int i = 0; i < testcases.size(); i++) {
Element group = testcases.get(i);
String basedir = group.getAttributeValue("basedir");
if (basedir.startsWith("Harold")) {
// These tests are listed in the catalog but haven't
// yet been checked into CVS. besides, these are all
// based on individual tests in this class anyway, so
// running these is duplicated effort.
continue;
}
Elements cases = group.getChildElements("testcase");
for (int j = 0; j < cases.size(); j++) {
Element testcase = cases.get(j);
String id = testcase.getAttributeValue("id");
String features = testcase.getAttributeValue("features");
if (features != null) {
if (features.indexOf("unexpanded-entities") >= 0) continue;
if (features.indexOf("unparsed-entities") >= 0) continue;