I posted a patch here that addresses this issue (1688224 in the bug
tracker). It includes a test of nested relative module include that
failed before and now works.
https://sourceforge.net/tracker/?func=detail&aid=2812962&group_id=17691&atid=317691-Mike
Wolfgang wrote:
>>> There is already a bug report for this, I tried to solve it but was
>>> not successful that time. Relative resolving of imports of xq
>>> modules...... would make apps better "portable" ....
>
> I think what we need to do is to overwrite "moduleLoadPath" in class
> ModuleContext to contain the path to the module, not to the main
> query. Right now, moduleLoadPath is set to the path of the parent
> context.
>
> Wolfgang
------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open