<?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>18447</bug_id>
          
          <creation_ts>2012-07-31 09:37:44 +0000</creation_ts>
          <short_desc>[FO31] Formatting numbers in scientific notation</short_desc>
          <delta_ts>2014-04-29 17:15:08 +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.1</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</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="Michael Kay">mike</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>jim.melton</cc>
    
    <cc>liam</cc>
          
          <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>71704</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-07-31 09:37:44 +0000</bug_when>
    <thetext>There is a long-standing requirement for the ability to format floating point numbers in scientific notation. This appeared as a requirement for XSLT 2.0, but it has never been satisfied.

Note that the Java DecimalFormat class, on which format-number() is based, accepts pictures such as

0.###E0

to request scientific notation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74442</commentid>
    <comment_count>1</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2012-09-25 16:08:19 +0000</bug_when>
    <thetext>At their meeting of 2012-09-25, the Joint WGs agreed to make this a candidate requirement for F&amp;O 3.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77430</commentid>
    <comment_count>2</comment_count>
    <who name="Liam R E Quin">liam</who>
    <bug_when>2012-10-30 15:51:10 +0000</bug_when>
    <thetext>Note: The WG agreed we will also need other data formats frequently found in Web applications, such as Unix/RFC timestamps, HTML 5 date/time for example.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81062</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2013-01-08 17:00:20 +0000</bug_when>
    <thetext>Notes from meeting #523:

&lt;quote&gt;
Q2.9.20 Bugzilla Bug 18447, [XQ31ReqUC] Formatting numbers in 
scientific notation
See http://www.w3.org/Bugs/Public/show_bug.cgi?id=18447

Liam: may be wanted for json in practice along with Unix-format (RFC)
dates.
Mike Kay: if you take JSON use cases seriously, Web services and HTTP
headers will emerge.
Jonathan: when it emerges we can consider it.

scientific notation (read and write)
YES, scientific notation (required in JSON)
PLUS additional data types commonly used in JavaScript.
&lt;/quote&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82619</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2013-02-06 09:38:27 +0000</bug_when>
    <thetext>This will be a MAY requirement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91420</commentid>
    <comment_count>5</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2013-07-30 18:38:22 +0000</bug_when>
    <thetext>This bug has been re-directed to the F&amp;O 3.1 document, as the requirement has been accepted (as a MAY requirement).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104693</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-04-29 17:14:42 +0000</bug_when>
    <thetext>The specification of format-number() in XPath 3.1 has been extended to satisfy this requirement. The bug entry is therefore being closed as resolved/fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>