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

Shivani Mall commented on VXQUERY-158:
--------------------------------------

As we can already conclude that the problem is not with the enclosed 
expression. Instead, there was a problem with how the element constructor was 
implemented. It was directly adding children, even when it was a text node, PI 
node or a comment node. When these come in as a part of a document, they have 
Node IDs. However, because of the IDs, which now only exists in TNP, PIN or 
CNP, the printer is most likely getting confused. So it can not print the 
contents of the element constructor correctly.


> 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