Re: [basex-talk] xquery:eval bug?

2016-01-18 Thread Marc van Grootel
Hi Christian, Seems to work fine with latest snapshot with some straightforward cases but I do get an error in some cases which I cannot understand. Though I appreciate that it may be difficult to support all types of dynamic calls. The error is: [bxerr:BXXQ0001] No updating expression allowed.

Re: [basex-talk] xquery:eval bug?

2016-01-18 Thread Christian Grün
Hi Marc, It runs fine on my environment. Could you give me some more information on your set up (have you assigned any non-default options)? Christian On Mon, Jan 18, 2016 at 10:07 AM, Marc van Grootel wrote: > Hi Christian, > > Seems to work fine with latest

Re: [basex-talk] xquery:eval bug?

2016-01-18 Thread Marc van Grootel
Hi Christian, Yes, I think so. I think MIXUPDATES=true could be the difference. I almost forgot about these as I always run basex from a Gradle script which sets these [1] [1] https://github.com/theapsgroup/basex-gradle-starter/blob/master/gradle.properties -Original Message- From:

Re: [basex-talk] xquery:eval bug?

2016-01-18 Thread Christian Grün
Hi Marc, hi Andy, Confirmed, it seems to be the MIXUPDATES option. Once again, I noticed it’s tricky to statically detect which dynamic function calls will perform updates. Obviously, in the given case, there was no updating code at all, so the error message was a bit misleading. Feedback on the

Re: [basex-talk] xquery:eval bug?

2016-01-18 Thread Andy Bunce
Works for me if MIXUPDATES is not true. I have found previously that MIXUPDATES has a lot consequences that are not always desirable or predictable - at least for me. /Andy On 18 January 2016 at 10:31, Christian Grün wrote: > Hi Marc, > > It runs fine on my

[basex-talk] Embedding BaseX in Clojure web app, pointers needed

2016-01-18 Thread Marc van Grootel
Hi, I'm considering to write a web layer for BaseX based in Clojure. It may be a somewhat longer term project but I would like to bring XML and BaseX closer to Clojure programming. Clojure web apps usually are able to run under various servers/containers (Jetty/Netty etc.) and I would like to be