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

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

Commit 2db20490c4d934fcee821ef923256f0f7ea26747 in vxquery's branch 
refs/heads/master from [~prestonc]
[ https://git-wip-us.apache.org/repos/asf?p=vxquery.git;h=2db2049 ]

Merge branch 'riyafa/VXQUERY-211'


> 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)

Reply via email to