When stating the query
for $p in collection(“Bib”)
the following http request is generated
(taken from the QuiP log)
<![CDATA[GET /tamino/TestXMLDB/Bib?_encoding=utf-8&_XQL(1,1)= HTTP/1.0
So, the query is missing and QuiP reports an error. Stating a modified version of the query including a path expression on the collection() returns the correct result.