Did I do it correctly?
Absolutely!
file:/opt/bitnami/apache-tomcat/webapps/BaseX811/hans.xq```
It seems that the "file" scheme provided by Bitnami is followed by only only slash. The correct representation should be:
file://opt/bitnami/...
This could be the reason why the URI cannot be correctly resolved.
I will check out if I can make our URL resolver more tolerant without breaking general standard compliance.
Thanks, Christian
which is the name of the file I included this temporary function for you
(:~ : Temporary test for debugging BaseX on Tomcat for CG on the list. : @deprecated :) declare updating function eelex:path-test() { db:output("static-base-uri() = " || static-base-uri()) };
Which I summon from the DBA using this
xquery version "3.0" encoding "UTF-8"; import module namespace eelex = 'some-eelex' at '/opt/bitnami/apache-tomcat/webapps/BaseX811/hans.xq'; return eelex:path-test()
Did I do it correctly? kristian