zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #10704
[Bug 921638] Re: Access function signatures in XQDoc
** Changed in: zorba
Status: New => Fix Released
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/921638
Title:
Access function signatures in XQDoc
Status in Zorba - The XQuery Processor:
Fix Released
Bug description:
There is no way to access in detail the function signature with XQDoc. For instance with fn:QName:
<xqdoc:function arity="2">
<xqdoc:comment>
<xqdoc:see>for semantics please check <a href="http://www.w3.org/TR/xpath-functions-30/#func-QName">fn:QName</a>
</xqdoc:see>
</xqdoc:comment>
<xqdoc:name>fn:QName</xqdoc:name>
<xqdoc:signature>declare function fn:QName($paramURI as xs:string?, $paramQName as xs:string) as xs:QName external</xqdoc:signature>
</xqdoc:function>
It should be something along those lines:
<xqdoc:function arity="2" is-external="no">
<xqdoc:comment>
<xqdoc:see>for semantics please check <a href="http://www.w3.org/TR/xpath-functions-30/#func-QName">fn:QName</a>
</xqdoc:see>
</xqdoc:comment>
<xqdoc:name>fn:QName</xqdoc:name>
<xqdoc:parameters>
<xqdoc:parameter>
<xqdoc:name>paramURI</xqdoc:name>
<xqdoc:type name="xs:string" cardinality="?" />
</xqdoc:parameter>
<xqdoc:parameter>
<xqdoc:name>paramQName</xqdoc:name>
<xqdoc:type name="xs:string" cardinality="" />
</xqdoc:parameter>
</xqdoc:parameters>
<xqdoc:returns>
<xqdoc:type name="xs:QName" cardinality="" />
</xqdoc:returns>
</xqdoc:function>
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/921638/+subscriptions
References