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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28050

            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})

and 

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


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