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.