Uploaded image for project: 'VXQuery (Retired)'
  1. VXQuery (Retired)
  2. VXQUERY-236

Dynamic function call on sequence

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Riyafa Abdul Hameed Riyafa Abdul Hameed
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: