BaseXdb/basex — Issue #256: REST: evaluate XQuery expressions with modules
Author: ChristianGruen
Created: 2011-11-06 21:44:41+00:00
State: open
Labels: API, feature

No modules are found if queries in databases are evaluted via the GET method. Example:

Database: DB
Raw query files stored inside: main.xq, module.xqm

http://localhost:8984/rest/DB/main.xq

..causes "[XQST0059] Module not found : ...".

Moreover, tested module path should also be suppressed if REST is used, and if user is not "Admin".