Christian, I am getting this error: [XQST0054] Stack Overflow: circular variable declaration? Do you know which can cause this? I does not happen all the time but some time Thanks Erol Akarsu On Fri, Dec 9, 2011 at 10:45 AM, Christian Grün <christian.gruen@gmail.com>wrote:
Can I pass command line arguments to basex while executing a xquery script?
You may run a script with the "run" command and prefix it with other commands. An example:
basex -c "open ...; ...; run yourquery.xq"
With 7.1 and the latest snapshot, you can use an arbitrary number of commands, query files etc:
basex -c "open...." yourquery.xq
Hope this helps, Christian
I am getting this error: [XQST0054] Stack Overflow: circular variable declaration? Do you know which can cause this?
Does your query contain any Java bindings? If yes, please have a look at the latest snapshot; a minor bug has been fixed in this version [2]. Hope this helps, Christian PS: if you are using Java calls, it may be interesting to hear which code you are calling, and if those features could also be contained in future XQuery modules. [1] http://docs.basex.org/wiki/Releases [2] https://github.com/BaseXdb/basex/pull/342
participants (2)
-
Christian Grün -
Erol Akarsu