Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-2747

xalan-j xpath3 built-in function calls, should allow literal sequence and array arguments

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
    • None

    Description

      It think, that it'll be useful to enhance XPath 3.1 function call invocations, to allow literal sequence constructor and array expressions, as also suggested within few examples within XPath 3.1 F&O spec as follows:

      fn:for-each(("john", "jane"), function($x)

      { fn:string-to-codepoints($x) }

      ) // this is slight variation from the example provided in XPath 3.1 F&O spec spec. But this example is a correct XPath 3.1 function call.

      array:for-each-pair(["A", "B", "C"], [1, 2, 3], function($x, $y) { array {$x, $y}})

      Attachments

        Activity

          People

            mukul_gandhi Mukul Gandhi
            mukul_gandhi Mukul Gandhi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: