« Return to Thread: database modules

Re: PATCH posted (was Re: database modules)

by thomas.0007 :: Rate this Message:

Reply to Author | View in Thread

I have been waiting for this feature. Good job!

Wolfgang, are we going to include this patch in the trunk?


Thomas


"Mike Sokolov" <sokolov@...> wrote in message
news:4A452F88.7090000@......

>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

 « Return to Thread: database modules