Riyafa Abdul Hameed created VXQUERY-236:
-------------------------------------------

             Summary: Dynamic function call on sequence
                 Key: VXQUERY-236
                 URL: https://issues.apache.org/jira/browse/VXQUERY-236
             Project: VXQuery
          Issue Type: Bug
            Reporter: Riyafa Abdul Hameed


It must be possible to apply dynamic function call on a Sequence so that it is 
called on each entry in the sequence.

For example:
when  
libjn:descendant-pairs({
  "first" : 1,
  "second" : { 
    "first" : "a", 
    "second" : "b" 
  }
})("first")
is called

The result has to be:
1 
a

This is Example 8.4 from JSONiq specification[1]

[1] http://jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html



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

Reply via email to