You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vxquery.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/07/08 01:08:10 UTC

[jira] [Commented] (VXQUERY-211) Support "?:" in object constructor

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

ASF subversion and git services commented on VXQUERY-211:
---------------------------------------------------------

Commit f6d6a86f73a90ace398118a4808e6ff52ef8ee44 in vxquery's branch refs/heads/master from riyafa
[ https://git-wip-us.apache.org/repos/asf?p=vxquery.git;h=f6d6a86 ]

VXQUERY-211 Support "?:" in object constructor


> Support "?:" in object constructor
> ----------------------------------
>
>                 Key: VXQUERY-211
>                 URL: https://issues.apache.org/jira/browse/VXQUERY-211
>             Project: VXQuery
>          Issue Type: Improvement
>            Reporter: Riyafa Abdul Hameed
>            Assignee: Riyafa Abdul Hameed
>
> The current implementation do not support separation by "?:"  between key, value pair. 
> Implementation details:
>  If the right operand evaluates to the empty sequence, the value of the pair is the atomic value null (of type js:null). However, if the colon is preceded with a question mark, the pair is omitted instead.
> If the right operand evaluates to a sequence of more than one item, the value of the pair is an array containing copies of all items in this sequence, in the same order. 
> [1] http://jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html#idm139680686311712



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)