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

[Bug 28050] New: map:for-each examples missing parenthesis

From: <bugzilla@jessica.w3.org>
Date: Wed, 18 Feb 2015 15:52:01 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28050-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 28050
           Summary: map:for-each examples missing parenthesis
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: pwalmsley@datypic.com
        QA Contact: public-qt-comments@w3.org

The description of map:for-each has the following 2 examples:

distinct-values(map:for-each-entry(map{1:"yes", 2:"no"}, function($k, $v){$v})


map:merge(map:for-each(map{"a":1, "b":2}, function($k, $v){map:entry($k,

Both of these should have an extra closing parenthesis ) on the end. Also, the
second one is a link to the map:merge definition, which looks a bit strange.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 18 February 2015 15:52:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 18 February 2015 15:52:04 UTC