# If we search in doc1a (OR doc1b) ALONE, query1 find the searched
[test1] but query2 fails [test2] CREATE DB test1-2 ADD doc1a.xml XQUERY {count(//*[@xml:id='div2'])} XQUERY {count(//*[@*:id='div2'])} CLOSE # If we search in doc2 ALONE, both query1 and query2 find the searched
[test3 and test4] CREATE DB test3-4 ADD doc2.xml XQUERY {count(//*[@xml:id='div2'])} XQUERY {count(//*[@*:id='div2'])} CLOSE #If we search in any combination of these documents, both query1 and query2 find the searched
[test5 and 6] CREATE DB test5-6 ADD doc1a.xml ADD doc1b.xml XQUERY {count(//*[@xml:id='div2'])} XQUERY {count(//*[@*:id='div2'])} CLOSE