17 Jan
2013
17 Jan
'13
12:56 p.m.
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.