[Bug 30008] New: [XSLT 3.0 ]Missing closing parenthesis in 'f:complex-number()' call in package example

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

            Bug ID: 30008
           Summary: [XSLT 3.0 ]Missing closing parenthesis in
                    'f:complex-number()' call in package example
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: editorial
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: pgfearo@googlemail.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

In first example in section 3.5 (Packages):

Missing closing parenthesis in call to 'f:complex-number()'

In this snippet:

  <xsl:function name="f:add" 
                as="map(xs:integer, xs:double)" visibility="public">
    <xsl:param name="x" as="map(xs:integer, xs:double)"/>
    <xsl:param name="y" as="map(xs:integer, xs:double)"/>
    <xsl:sequence select="
         f:complex-number(
           f:real($x) + f:real($y), 
           f:imag($x) + f:imag($y)"/>
  </xsl:function>
----------------------------------^----------
                             missing ')' here

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

Received on Thursday, 17 November 2016 12:09:15 UTC