Weird - still can't reproduce this here (your query correctly returns "4" on my machine). Has anyone else tried this?
Thanks in advance, Christian ___________________________
On Fri, Mar 16, 2012 at 8:05 PM, Charles Duffy charles@dyfis.net wrote:
I'm able to reproduce this with the "ns-test" module, first given in my post at http://permalink.gmane.org/gmane.text.xml.basex.talk/235 (and now attached).
$ basex-query 'repo:install("/home/cduffy/ns-test.xar")' $ basex-query - <<EOF import module namespace foo="http://dyfis.net/example/ns-test/foo"; import module namespace bar="http://dyfis.net/example/ns-test/bar"; foo:test() + bar:test() EOF basex.rest.RemoteException: [XQST0059] Could not retrieve module '/home/cduffy/local/opt/basex-data/home/cduffy/local/opt/basex-data/repo/http-dyfis.net-example-ns-test-0.1.136892-build.20120224.105428/ns-test/foo.xq'.
On 03/16/2012 01:43 PM, Christian Grün wrote:
Sounds serious; but I didn't manage to reproduce this locally. Does your module import yet another module? Could you try to build an example that demonstrates the problem?
On Fri, Mar 16, 2012 at 7:19 PM, Charles Duffycharles@dyfis.net wrote:
On 03/16/2012 01:13 PM, Charles Duffy wrote:
In my .basex file:
REPOPATH = /home/cduffy/local/opt/basex-data/repo
...and running repo:list() shows my local package, with namespace http://dyfis.net/ as installed, but trying to use anything from it leads to an error similar to the following:
releng.db.basex.rest.RemoteException: [XQST0059] Could not retrieve module
'/home/cduffy/local/opt/basex-data/home/cduffy/local/opt/basex-data/repo/http-dyfis.net-0.1.140101/dyfis/reporting.xq'.
This is happening with a local build of 230e16551cf397def9e6c59044ff605e48908e1c (current master on github).
This appears to have been caused by commit e7362aee ("[MOD] XQuery: unique resolution of file locations"); reverting this commit, the error no longer occurs.
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk