Hi Marco, I remember this has recently been noted by various users, so I have just added a new Github issue for your request [1]. Cheers, Christian [1] https://github.com/BaseXdb/basex/issues/1151 On Tue, May 26, 2015 at 5:22 PM, Marco Lettere <marco.lettere@dedalus.eu> wrote:
Hi all, isn't there any chance of showing up custom annotations in the inspect:function result?
declare %local:ann function local:f3() as xs:string{ () };
(inspect:functions() ! inspect:function(.))
yields:
<function name="local:f3" uri="http://www.w3.org/2005/xquery-local-functions"> <return type="xs:string"/> </function>
I thought of:
<function name="local:f3" uri="http://www.w3.org/2005/xquery-local-functions"> <annotation name="local:ann"/> <return type="xs:string"/> </function>
Thanks, Marco.