<?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>19365</bug_id>
          
          <creation_ts>2012-10-08 20:28:32 +0000</creation_ts>
          <short_desc>[XQuery30] add statically known decimal formats to C.1 Module Static Context</short_desc>
          <delta_ts>2013-07-01 22:21:46 +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>XQuery 3.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://www.w3.org/Bugs/Public/show_bug.cgi?id=20828</see_also>
          <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="Andrew Eisenberg">andrew.eisenberg</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>jmdyck</cc>
    
    <cc>mike</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>75623</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2012-10-08 20:28:32 +0000</bug_when>
    <thetext>Statically known decimal formats are defined in 2.1.1 Static Context. A row should be added to the table in C.1 Module Static Context, defining the initialization and alteration of this component.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77410</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2012-10-30 12:58:31 +0000</bug_when>
    <thetext>Here&apos;s my first shot.

* Default initial value 	

output:method = &quot;xml&quot;;

* Can be overwritten or augmented by implementation?

Yes

* Can be overwritten or augmented by prolog?

Yes, using 2.2.4 Output Declarations

* Can be overwritten or augmented by expressions?

No	

* Consistency rules

Must conform to a valid set of &lt;termref&gt;output declarations&lt;/termref&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77412</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-10-30 13:05:21 +0000</bug_when>
    <thetext>&gt;output:method = &quot;xml&quot;;

Eh? statically known decimal formats have nothing to do with serialization.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77425</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2012-10-30 14:49:22 +0000</bug_when>
    <thetext>Here&apos;s my second shot.

* Default initial value 	

Specified in http://www.w3.org/TR/xquery-30/#dt-static-decimal-formats

* Can be overwritten or augmented by implementation?

Yes

* Can be overwritten or augmented by prolog?

Yes, Decimal Format Declarations

* Can be overwritten or augmented by expressions?

No	

* Consistency rules

See error conditions in  http://www.w3.org/TR/xquery-30/#dt-static-decimal-formats</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77434</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2012-10-30 16:13:46 +0000</bug_when>
    <thetext>The Working Group has adopted the resolution in comment #3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79965</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2012-12-11 21:48:41 +0000</bug_when>
    <thetext>You added the row to the table in C.2 (dynamic context), should have added it to C.1 (static context).

(Also, note that in rev 1.53 of src/back-matter.xml, I reordered the rows of the tables in appendix C so that components are grouped by overwriteability: first the ones that can be overwritten/augmented by expressions, then the ones that don&apos;t vary at the expression level but can be overwritten/augmented by (decls in) prologs, and then the ones that can&apos;t be overwritten in either. [I should have put a comment to that effect in the XML source, sorry.] Anyhow, statically known decimal formats should be in the second group.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81017</commentid>
    <comment_count>6</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2013-01-07 23:24:22 +0000</bug_when>
    <thetext>Fixed in current build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81046</commentid>
    <comment_count>7</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2013-01-08 14:03:02 +0000</bug_when>
    <thetext>Looking at the latest draft, saying &quot;yes&quot; to &quot;Can be overwritten or augmented by implementation?&quot; seems wrong. Perhaps statically known collations and default collation could act as our guide.


Default decimal format

* Default initial value 	

Implementation-dependent

* Can be overwritten or augmented by implementation?

No

* Can be overwritten or augmented by prolog?

No

* Can be overwritten or augmented by expressions?

No	

* Consistency rules

None.


Statically known decimal formats

* Default initial value 	

only the default decimal format

* Can be overwritten or augmented by implementation?

no

* Can be overwritten or augmented by prolog?

augmentable, by Decimal Format Declarations

* Can be overwritten or augmented by expressions?

No	

* Consistency rules

Each URI uniquely identifies a decimal format.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81170</commentid>
    <comment_count>8</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2013-01-10 02:09:56 +0000</bug_when>
    <thetext>There seemed to be sentiment at the joint meeting on Tuesday to stay with one row in C.1 Static Context Components. Better understanding decimal formats, let me suggest:


Statically known decimal formats

* Default initial value 	

the default (unnamed) decimal format, which has an implementation-dependent value

* Can be overwritten or augmented by implementation?

augmentable

* Can be overwritten or augmented by prolog?

augmentable, by Decimal Format Declarations

* Can be overwritten or augmented by expressions?

No	

* Consistency rules

Each URI uniquely identifies a decimal format.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81176</commentid>
    <comment_count>9</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-01-10 08:25:28 +0000</bug_when>
    <thetext>One reservation - decimal format names are QNames, not URIs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82280</commentid>
    <comment_count>10</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2013-01-29 17:05:45 +0000</bug_when>
    <thetext>In today&apos;s telcon we agreed to adopt Comment #8 modulo Comment #9.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>