Re: [basex-talk] inspect functions and %private

2013-12-05 Thread Christian Grün
Hi Jean-Marc, thanks for the report. Leo has just fixed the issue. Feel free to check out the new snapshot [1]. Christian [1] http://files.basex.org/releases/latest/ ___ On Mon, Dec 2, 2013 at 1:18 PM, jean-marc Mercier jeanmarc.merc...@gmail.com wrote: Hi christian,

[basex-talk] inspect functions and %private

2013-12-02 Thread jean-marc Mercier
Hi, To report a small issue in the inspect functions module with %private declaration. The following code runs perfectly : declare %private function local:test(){()}; for $fun in inspect:functions() return gotcha However, If the function test is located in another module, say test, then the

Re: [basex-talk] inspect functions and %private

2013-12-02 Thread Christian Grün
However, If the function test is located in another module, say test, then the following code import module namespace test=http://www.example.com/test; at test.xq; for $fun in inspect:functions() return gotcha raise an exception. If you mean the exception Function 'test:test' is not

Re: [basex-talk] inspect functions and %private

2013-12-02 Thread jean-marc Mercier
Hi christian, yes this is the point : Stopped at C:/Jiheme/informatique/workspace/Graph DataBase/module/common.xq, 31/89: [XPST0017] Function 'local:test' is not visible from this module. If this is desired, it means that we can not use the inspection module as soon as there is %private