assertFalse(specs[0].isAscending());
}
public void testChildAxis() throws Exception {
String stmt = "//* order by foo_x0020_bar/@bar";
QueryRootNode root = QueryParser.parse(stmt, Query.XPATH, RESOLVER, FACTORY);
assertEquals(1, root.getOrderNode().getOrderSpecs().length);
OrderQueryNode.OrderSpec[] specs = root.getOrderNode().getOrderSpecs();
assertEquals(1, specs.length);
assertTrue(specs[0].isAscending());
checkName(Name.NS_DEFAULT_URI, "bar", specs[0].getProperty());
Path propPath = specs[0].getPropertyPath();
Path.Element[] elements = propPath.getElements();