I believe this is actually a bug in xpathselect which fails to understand queries of the form "/Root[id=1]//*". I attach a patch which adds a test case. This currently fails:
[ RUN ] TestTreeFixture.test_search_all_nodes_with_wildcard_and_root_property
/home/martin/upstream/xpathselect/test/test_xpath_tree.cpp:180: Failure
Value of: result.size()
Actual: 0
Expected: 5
I believe this is actually a bug in xpathselect which fails to understand queries of the form "/Root[id=1]//*". I attach a patch which adds a test case. This currently fails:
[ RUN ] TestTreeFixture .test_search_ all_nodes_ with_wildcard_ and_root_ property upstream/ xpathselect/ test/test_ xpath_tree. cpp:180: Failure
/home/martin/
Value of: result.size()
Actual: 0
Expected: 5