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/06/26 12:05:33 UTC

[jira] [Created] (VXQUERY-215) The left operand in the PairConstructor must support ExprSingle

Riyafa Abdul Hameed created VXQUERY-215:
-------------------------------------------

             Summary: 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


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)