[
https://issues.apache.org/jira/browse/VXQUERY-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14611500#comment-14611500
]
Shivani Mall commented on VXQUERY-158:
--------------------------------------
There is no problem with the translator or the element constructor. Translator
is simply translating the variables to constant and passing it to the node
constructor function. Node constructor is receiving as it is, and now does not
know what to do. I dont think it is a good idea to modify the rewrite rules
because this is a part of optimization as I read javadoc on the rule. Do you
think it is a good idea to handle within the node constructor?
> 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)