Question 1.
BaseX 7.3 processor looks for "mylibrary_module.xq" in ~/basex/bin
BaseX 7.5 processor looks for "mylibrary_module.xq" in ~/
Hi there,
I'm developing a Java dynamic web application in Eclipse Juno using XQJ and BaseX (OS Ubuntu 12.04).
I'm using an XQuery main module importing a library module in my Java-XQJ code to query BaseX, something like this:
....
String xqueryString =
//import library module and point the processor to the file containing the library module
"import module namespace lib=\"http://www.example.com/mylibrary_module\" at \"mylibrary_module.xq\";" +
"lib:myfunction()";
XQResultSequence rs = xqe.executeQuery(xqueryString);
...
Two questions:
1. Why does the processor looks for "mylibrary_module.xq" in ~/basex/bin?
2. Is there any way to change this path?
Thanks.