Are there any concept documents available?
Our JAX-RX API was inspired by two XML processors, namely BaseX and TreeTank. As TreeTank only supports XPath, but offers other features such as revisioning, we started off with adding common features to the API. We have an internal project page, which we want to make public soon.
Because - if I understand XQuery correctly, which I'm not sure of - variables are part of the "static context". Wouldn't it be necessary, to include a whole "static context" block for a "full" api?
True; this way, users could also define other properties, such as default namespaces, base uri, etc. within the REST request. As our core principle was to keep the API simple, we decided that the user should specify static features within the prolog of the query file. If more people show interest in a more powerful API, we might include requests such as yours in future releases.
Best, Christian ___________________________
Christian Gruen Universitaet Konstanz Department of Computer & Information Science D-78457 Konstanz, Germany Tel: +49 (0)7531/88-4449, Fax: +49 (0)7531/88-3577 http://www.inf.uni-konstanz.de/~gruen