[Bug 29311] New: [XSLT30] First example in http://www.w3.org/TR/xslt-30/#map-examples has superfluous closing }

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

            Bug ID: 29311
           Summary: [XSLT30] First example in
                    http://www.w3.org/TR/xslt-30/#map-examples has
                    superfluous closing }
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: martin.honnen@gmx.de
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

The first example in http://www.w3.org/TR/xslt-30/#map-examples has the code 

      <xsl:with-param name="highest-earners"
          select="let $existing := $highest-earners($this/department)
                  return if ($existing/salary gt $this/salary)
                         then $highest-earners
                         else map:put($highest-earners, $this/department,
$this})"/>

which has a wrong `}` at the end of the `select` expression, that closing curly
brace should be removed:

      <xsl:with-param name="highest-earners"
          select="let $existing := $highest-earners($this/department)
                  return if ($existing/salary gt $this/salary)
                         then $highest-earners
                         else map:put($highest-earners, $this/department,
$this)"/>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 29 November 2015 10:57:01 UTC