URL rules = ClassLoader.getSystemResource("org/apache/commons/digester/xmlrules/testrules.xml");
URL input = ClassLoader.getSystemResource("org/apache/commons/digester/xmlrules/test.xml");
assertNotNull("The test could not locate testrules.xml", rules);
assertNotNull("The test could not locate test.xml", input);
Digester digester = DigesterLoader.createDigester(rules);
digester.push(new ArrayList());
Object root = digester.parse(input.openStream());
assertEquals("[foo1 baz1 foo2, foo3 foo4]",root.toString());
//System.out.println(root);
}