public void testid54180() throws JaxenException {
Navigator nav = getNavigator();
String url = TESTS_ROOT + "xml/axis.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();
assertValueOfXPath("a.2", context, "name(/root/a/a.3/preceding-sibling::*[1])");
assertValueOfXPath("a.1", context, "name(/root/a/a.3/preceding-sibling::*[2])");