Re: [basex-talk] concurrency within xquery

2013-01-29 Thread Marco Lettere
Hello Jens, what we wanted to do is writing a testing client for our service framework and we wanted to do it with BaseX as the testing client. An Xquery reading the testcase (in XML) and using http-client for the request plus XSD/XSLT and Xquery itself for doing the assertions on the outcome

Re: [basex-talk] concurrency within xquery

2013-01-28 Thread Jens Erat
Hi Seenivasan, what exactly do you want to do? What kind of subqueries are you thinking about? There are currently no plans to support concurrent subqueries of a query, so a single query (regard as sending one request to the database) is always one transaction. You can find more information on

Re: [basex-talk] concurrency within xquery

2013-01-25 Thread Christian Grün
Hi Seenivasan, by chance, we’ve recently thought about such a feature, but we’re not sure yet if it can be realized without undesired side-effects. One idea was to introduce a new pragma for explicitly locking parts of the code. This could look as follows: (# db:lock #) { file:write(..) }