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/01 14:33:10 UTC
[jira] [Work started] (VXQUERY-215) The left operand in the
PairConstructor must support ExprSingle
[ https://issues.apache.org/jira/browse/VXQUERY-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on VXQUERY-215 started by Riyafa Abdul Hameed.
---------------------------------------------------
> The left operand in the PairConstructor must support ExprSingle
> ---------------------------------------------------------------
>
> Key: VXQUERY-215
> URL: https://issues.apache.org/jira/browse/VXQUERY-215
> Project: VXQuery
> Issue Type: Bug
> Reporter: Riyafa Abdul Hameed
> Assignee: Riyafa Abdul Hameed
>
> According to JSONiq grammar specification the left operand of the PairConstructor needs to be ExprSingle [1]. Current implementation considers it to be a StringLiteral.
> Following needs to be implemented:
> *Change the grammar specification of the PairConstructor
> *The string should be the result of evaluating the left operand: atomizing it, checking that it results in a single atomic item, and casting it to xs:string.
> *Errors such as jerr:JNTY0004 or err:XPTY0004 may be raised upon failure of one of these steps.
> [1]http://jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html#section-grammar-summary
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)