You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vxquery.apache.org by "Riyafa Abdul Hameed (JIRA)" <ji...@apache.org> on 2016/07/05 14:41:11 UTC
[jira] [Work started] (VXQUERY-211) Support "?:" in object
constructor
[ https://issues.apache.org/jira/browse/VXQUERY-211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on VXQUERY-211 started by Riyafa Abdul Hameed.
---------------------------------------------------
> 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)