http://bugs.winehq.org/show_bug.cgi?id=6856
------- Additional Comments From der.fabe@gmx.net 2007-03-05 06:10 ------- Created an attachment (id=6103) --> (http://bugs.winehq.org/attachment.cgi?id=6103&action=view) XPath testcase
The current implementation only walks through the direct children of the node. Walking through the entire subtree would improve the problem as we wouldn't miss any matches. However this method could find more matches than the native implementation if the entire query appears in the subtree not at the top level (See the attached test case).