[Bug 15622] New: [QT3] numberformatNaN

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

           Summary: [QT3] numberformatNaN
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
        AssignedTo: benjie.nguyen@gmail.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


This test was probably intended to be

      <test>format-number(1e0 div 0e0,'#############')</test>

since (decimal) 1.0 div 0.0 is an error, not NaN.

  <test-case name="numberformatNaN">
      <description>
        Creator: Zhen Hua Liu
        Purpose: NaN input from 1.0 div 0.0. </description>
      <created by="Zhen Hua Liu" on="2012-01-18"/>
      <environment/>
      <test>format-number(1.0 div 0.0,'#############')</test>
      <result>
         <assert-string-value>NaN</assert-string-value>
      </result>
   </test-case>

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 19 January 2012 08:56:47 UTC