<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>11544</bug_id>
          
          <creation_ts>2010-12-13 12:36:54 +0000</creation_ts>
          <short_desc>Typo in the last three math:sqrt examples</short_desc>
          <delta_ts>2011-06-07 13:54:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Functions and Operators 3.0</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="O&apos;Neil Delpratt">oneil</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>43302</commentid>
    <comment_count>0</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2010-12-13 12:36:54 +0000</bug_when>
    <thetext>In Section 4.7.7 math:sqrt of the XPath30 and XQuery functions and operators spec:

See the Example sub-section for math:sqrt, the last three are showing examples for the math:log10 function instead of math:sqrt.


Example for math:sqrt:

    The expression math:sqrt(()) returns ().

    The expression math:sqrt(0.0e0) returns 0.0e0.

    The expression math:sqrt(-0.0e0) returns -0.0e0.

    The expression math:sqrt(1.0e6) returns 1.0e3.

    The expression math:sqrt(2.0e0) returns 1.4142135623730951e0.

    The expression math:sqrt(-2.0e0) returns xs:double(&apos;NaN&apos;).

    The expression math:log10(xs:double(&apos;NaN&apos;)) returns xs:double(&apos;NaN&apos;).

    The expression math:log10(xs:double(&apos;INF&apos;)) returns xs:double(&apos;INF&apos;).

    The expression math:log10(xs:double(&apos;-INF&apos;)) returns xs:double(&apos;NaN&apos;).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43304</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2010-12-13 15:18:22 +0000</bug_when>
    <thetext>Thanks for reporting this. Fixed at source.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49262</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2011-06-07 13:54:43 +0000</bug_when>
    <thetext>Closing since the problem is now fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>