Comment 4 for bug 1194763

Revision history for this message
Martin Pitt (pitti) wrote :

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