public void testid55716() throws JaxenException {
Navigator nav = getNavigator();
String url = TESTS_ROOT + "xml/text.xml";
log("Document [" + url + "]");
Object document = nav.getDocument(url);
XPath contextpath = new BaseXPath("/", nav);
log("Initial Context :: " + contextpath);
List list = contextpath.selectNodes(document);
Iterator iter = list.iterator();
while (iter.hasNext()) {
Object context = iter.next();
assertCountXPath(3, context, "/foo/bar/text()");
assertValueOfXPath("baz", context, "normalize-space(/foo/bar/text())");