-
Notifications
You must be signed in to change notification settings - Fork 2
Description
assume "/Users/jakob/Projects/test" is the location of my modules on the filesystem.
if the environment/@root attribute is set to "/" and the import/@at attribute contains the absolute path, the module is found ok, and my tests execute, yay!
if however i reverse this and set the environment/@root attribute to "/Users/jakob/Projects/test/" and the import/@at to a relative path, xqut doesn't find the module.
here's beginning of the stacktrace (can provide full if needed) which shows that xqut seems to concatenate a duplicate path:
<error:code>SVC-FILOPN</error:code>
<error:name/>
<error:xquery-version>1.0-ml</error:xquery-version>
<error:message>File open error</error:message>
<error:format-string>SVC-FILOPN: File open error: open '/Users/jakob/Projects/test/Users/jakob/Projects/test/tests/config.xqy': No such file or directory</error:format-string>
<error:retryable>false</error:retryable>
<error:expr/>also: the document root of the xdbc server i'm using to connect to via oxygenxml can be either "/" or the absolute path, it makes no difference. note that i'm not actually using this server/database for anything apart from executing the xquery in marklogic.
thanks for looking into this.