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.
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.
I am glad to report that you will now have access to custom annotations again. Check out the latest snapshot [1]!
Christian
[1] http://files.basex.org/releases/latest
On Tue, May 26, 2015 at 5:27 PM, Christian Grün christian.gruen@gmail.com wrote:
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.
basex-talk@mailman.uni-konstanz.de