Hi All,

I think i have found a bug (for MonetDB/XQuery) in the XQuery collection function. When using this function in combination with an XPath it only seem to work on the first document in a collection.

For example: when trying the tutorial example (shown in http://monetdb.cwi.nl/projects/monetdb/XQuery/QuickTour/DOCMGT/index.html) "Opening All Documents in a Collection" i only get the author elements of the first inserted document (in my case bib.xml).

I have tested this on the current release version (4.16.2) and the nightly build of 2007-03-16.

Hope this helps to solve it,
Greetings,
   Pepijn