[ 
https://issues.apache.org/jira/browse/VXQUERY-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14617107#comment-14617107
 ] 

Preston Carman commented on VXQUERY-158:
----------------------------------------

Each expression is handle at runtime. If expressions are nested, the inner most 
expression is evaluated first. The results of this expression are used to 
evaluate the next inner most expression, and so on. When writing the runtime 
function, each argument is considered to be already evaluated into a constant.

> Can not read/evaluate { } in queries
> ------------------------------------
>
>                 Key: VXQUERY-158
>                 URL: https://issues.apache.org/jira/browse/VXQUERY-158
>             Project: VXQuery
>          Issue Type: Bug
>            Reporter: Shivani Mall
>            Assignee: Preston Carman
>         Attachments: curly_braces_1.png, curly_braces_2.png
>
>
> Queries that contain nested values enclosed in element constructor function 
> fail.
> For example, for the following query the result is missing:
> let $v := "missing"
> return <result><v>{$v}</v></result>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to