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%5C" 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.
Question 1. BaseX 7.3 processor looks for "mylibrary_module.xq" in ~/basex/bin BaseX 7.5 processor looks for "mylibrary_module.xq" in ~/
2013/1/17 marco fregonese marcofregonese@gmail.com
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%5C" at "mylibrary_module.xq";" + "lib:myfunction()";
XQResultSequence rs = xqe.executeQuery(xqueryString); ...
Two questions:
- Why does the processor looks for "mylibrary_module.xq" in ~/basex/bin?
- Is there any way to change this path?
Thanks.
Hi Marco,
sorry for the late feedback. Can you reproduce the issues in the BaseX GUI or on command line?
Best, Christian ___________________________________
2013/1/17 marco fregonese marcofregonese@gmail.com
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%5C" at "mylibrary_module.xq";"
"lib:myfunction()";
XQResultSequence rs = xqe.executeQuery(xqueryString); ...
Two questions:
- Why does the processor looks for "mylibrary_module.xq" in ~/basex/bin?
- Is there any way to change this path?
Thanks.
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de