W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2013

[Bug 22761] New: Maps, esp. map creation is not part of streamability analysis

From: <bugzilla@jessica.w3.org>
Date: Mon, 22 Jul 2013 22:58:28 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-22761-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22761

            Bug ID: 22761
           Summary: Maps, esp. map creation is not part of streamability
                    analysis
    Classification: Unclassified
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org

Streamability of map constructors has been a topic in the WG mailing list [1],
[2], however, it never made it to the streamability analysis.

As a refresher, Michael Kay suggested in the aforementioned mail to allow
multiple downward expressions in map constructors, by considering them in an
implicit fork. Essentially, if we are to follow that line of thought, we get
something like this:

----
MapExpr [112]

Determine the sweep for each key/value pair, any of the following:
- Key is consuming, value is motionless, then consuming
- Key is motionless, value is consuming, then consuming
- Otherwise, free ranging

The sweep of a map expression is the maximum sweep of each item's key/value
pair.

Note: this rule assumes an implicit fork for each map-item in the expression,
which allows expressions like { "price" : price, "quantity" : quantity }.

----

We might attempt something similar for map:new, but not sure we should.


[1] https://lists.w3.org/Archives/Member/w3c-xsl-wg/2012Aug/0000.html
[2] https://lists.w3.org/Archives/Member/w3c-xsl-wg/2012Aug/0002.html

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 22 July 2013 22:58:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:53 UTC