[ 
https://issues.apache.org/jira/browse/VXQUERY-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Riyafa Abdul Hameed reassigned VXQUERY-215:
-------------------------------------------

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

Reply via email to