public void testid55189() throws JaxenException {
Navigator nav = getNavigator();
String url = TESTS_ROOT + "xml/text.xml";
log("Document [" + url + "]");
Object document = nav.getDocument(url);
XPath contextpath = new BaseXPath("/foo/bar/cheese[1]", nav);
log("Initial Context :: " + contextpath);
List list = contextpath.selectNodes(document);
Iterator iter = list.iterator();
while (iter.hasNext()) {
Object context = iter.next();
assertValueOfXPath("3foo3", context, "concat(./@id,'foo',@id)");
assertValueOfXPath("3snoop3", context,