On some large DB XML databases, we have seen far lower numbers of query hits with DB XML 6.x.x compared to 2.5.16. Unfortunately, 2.5.16 seems to return the correct results, whereas the 6.x.x versions do not. I finally had some time to make a minimal example. Example run:
% ~/dbxml-2.5.16/bin/dbxml -s example-script.txt
wiki-11/wiki-11.p.30.s.7.xml
wiki-11/wiki-11.p.34.s.13.xml
wiki-11/wiki-11.p.41.s.1.xml
% ~/dbxml-6.1.4/bin/dbxml -s example-script.txt
wiki-11/wiki-11.p.30.s.7.xml
The example database and query script can be downloaded from:
http://www.sfs.uni-tuebingen.de/~ddekok/misc/dbxml-test.dact
http://www.sfs.uni-tuebingen.de/~ddekok/misc/example-script.txt
Observe that the missing two files also contain nodes matching the query.