You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vxquery.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/07/01 15:03:10 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15359094#comment-15359094 ] 

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

Commit ba6af98808648fec9267860e31034cec13772cc5 in vxquery's branch refs/heads/master from riyafa
[ https://git-wip-us.apache.org/repos/asf?p=vxquery.git;h=ba6af98 ]

VXQUERY-215 Left operand of a pair is ExprSingle


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