assertEquals("Must select <test:element1/> node", "element1", list.item(0).getLocalName());
assertEquals("Must select <test:element2/> node", "element2", list.item(1).getLocalName());
// 4. Test with a namespace prefix configured in the component configuration
expr = "count(/test:root/*)";
Number number = processor.evaluateAsNumber(document1, expr);
assertEquals(2, number.intValue());
// 5. Test with a custom prefix resolver using a different document in a different namespace,
// to be sure the custom prefix resolver is used
number = processor.evaluateAsNumber(document2, expr, new PrefixResolver() {