<?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>10948</bug_id>
          
          <creation_ts>2010-10-01 07:51:31 +0000</creation_ts>
          <short_desc>[XPath30] editorial: 2.1.1 Static Context: statically known decimal formats</short_desc>
          <delta_ts>2011-09-06 17:20:25 +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>XPath 3.0</component>
          <version>Member-only Editors Drafts</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Dyck">jmdyck</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>jim.melton</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>40398</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2010-10-01 07:51:31 +0000</bug_when>
    <thetext>[Affects XQuery11 too.]

2.1.1 Static Context
Statically known decimal formats.

[1]
The spec is inconsistent on &quot;decimal format&quot; vs &quot;decimal-format&quot;.
(Also true for F+O spec.)

[2]
&quot;This is the set of known decimal formats.&quot;
    It would be more consistent to say that it&apos;s
        a set of (EQName, decimal format) pairs
    or
        a mapping from EQNames to decimal formats

[3]
&quot;Each format is used for serializing decimal numbers using
fn:format-number().&quot;

    [3a] Change &quot;is&quot; to &quot;can be&quot; (because the declaration of a format
    is not a guarantee that it will be used).

    [3b] Change &quot;decimal numbers&quot; to just &quot;numbers&quot; (because fn:format-number
    &quot;can be used to format any numeric quantity&quot;, not just xs:decimals).

[4]
&quot;Each format is identified by a QName, except for the default format,
which has no visible name.&quot;
    It would be more consistent to have a separate
    &apos;default decimal format&apos; component.

[5]
&quot;Each format contains the properties described in the following
paragraphs.&quot;
    I think it would make more sense for the description of the
    properties to be in section 4.10 Decimal-Format Declaration.

[6]
&quot;The following attributes control the interpretation of characters in the
picture string supplied to the format-number function.&quot;
    [6a] Change &quot;attributes&quot; to &quot;properties&quot;.
    [6b] Change &quot;format-number&quot; to &quot;&lt;code&gt;fn:format-number&lt;/code&gt;&quot;.

[7]
&quot;The following attributes specify characters or strings that may appear
in the result of formatting the number:&quot;
    Change &quot;attributes&quot; to &quot;properties&quot; again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40400</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2010-10-01 08:00:29 +0000</bug_when>
    <thetext>Re [5]: Oops, XPath doesn&apos;t have a section 4.10. (I originally wrote the comment for XQuery.) So on second thought, drop the description of properties, and just refer the reader to F+O section 4.6.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47743</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2011-04-27 19:21:28 +0000</bug_when>
    <thetext>This requires some discussion.

See
http://lists.w3.org/Archives/Member/w3c-xsl-query/2011Apr/0167.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56411</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2011-09-06 17:20:25 +0000</bug_when>
    <thetext>I have now checked in changes proposed in http://lists.w3.org/Archives/Member/w3c-xsl-query/2011Apr/0176.html.

The other changes had already been made. I am marking this bug Resolved/Fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>