W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2016

[Bug 29449] New: [xslt 3.0] Streamability of $map($key) and $array($index)

From: <bugzilla@jessica.w3.org>
Date: Thu, 11 Feb 2016 22:35:05 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29449-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29449

            Bug ID: 29449
           Summary: [xslt 3.0] Streamability of $map($key) and
                    $array($index)
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

In 

19.8.8.10 Streamability of Dynamic Function Calls

It would be useful to explain the effect of these rules on dynamic function
calls where the "function" in question is a map or an array.

Intuitively, if we know that the "base expression" (the function) is a map or
an array, and the argument is motionless, then the dynamic function call itself
is motionless; if we don't know (because the type analysis doesn't tell us),
then we can't determine that the expression is guaranteed-streamable, and the
user should be advised to write map:get($map, $key) or array:get($array,
$index) instead; or perhaps to use the "?" lookup operator if XPath 3.1 is
available.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 11 February 2016 22:35:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:59 UTC