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 following code

import module namespace test="http://www.example.com/test" at test.xq";

for $fun in inspect:functions() return "gotcha"

raise an exception.

Cheers,

Jean-Marc