Hi,
I try to import a module dynamically, as in this example from a earlier discussion:
let $s:='import module namespace p="xquery-30" at "../repotest/test.xqm"; p:parse-XQuery("2+2")' return xquery:eval($s)
It gives me the following error:
. . . [XQST0059] Could not retrieve module '/home/repotest/test.xqm'.
I run BaseX 8.3 as war in Tomcat container.
If the module is imported in static way:
import module namespace p = "xquery-30 " at "../repotest/test.xqm";
everything works correctly.
From where does the problem with malformed relative path, what solution could be found?
Thanks, Ioan