You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vxquery.apache.org by "Till Westmann (JIRA)" <ji...@apache.org> on 2013/08/01 21:05:50 UTC

[jira] [Commented] (VXQUERY-97) Can't create query functions using opext

    [ https://issues.apache.org/jira/browse/VXQUERY-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13726758#comment-13726758 ] 

Till Westmann commented on VXQUERY-97:
--------------------------------------

Every function that is in a op* namespace is not intended to be called directly. These functions implement functionality that is exposed differently (often by syntactic constructs of XQuery). E.g. opext:value-ge is the function that implements ">=" for atomic values. So this works as designed. If one of the functions is needed as a function call, we could consider to move it into a different namespace.
                
> Can't create query functions using opext
> ----------------------------------------
>
>                 Key: VXQUERY-97
>                 URL: https://issues.apache.org/jira/browse/VXQUERY-97
>             Project: VXQuery
>          Issue Type: Bug
>            Reporter: Steven Jacobs
>            Assignee: Till Westmann
>
> It seems that custom functions using opext cannot be called as part of a query. The displayed error is "It is a static error if the expanded QName and number of arguments in a function call do not match the name and arity of a function signature in the static context."

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira