Public bug reported: 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> ** Affects: zorba Importance: Undecided Status: New -- 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: New 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 -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp