<?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>10273</bug_id>
          
          <creation_ts>2010-07-30 07:27:26 +0000</creation_ts>
          <short_desc>[XQuery11]: Mistaken allowance of missing DFPropertyName pair in EBNF?</short_desc>
          <delta_ts>2010-09-21 16:26:55 +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>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brett Zamir">brettz9</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>brettz9</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>37181</commentid>
    <comment_count>0</comment_count>
    <who name="Brett Zamir">brettz9</who>
    <bug_when>2010-07-30 07:27:26 +0000</bug_when>
    <thetext>In http://www.w3.org/TR/xquery-11/#prod-xquery11-DecimalFormatDecl , there is the following EBNF definition of a Decimal Format Declaration:

    &quot;declare&quot; ((&quot;decimal-format&quot; QName) | (&quot;default&quot; &quot;decimal-format&quot;)) (DFPropertyName &quot;=&quot; StringLiteral)*

The last portion seems to allow omission of DFPropertyName-value pairs. If there is some reason to allow such a declaration without a DFPropertyName, I think it should be spelled out. If not, I believe the &quot;*&quot; should be changed to a &quot;+&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37184</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2010-07-30 09:23:33 +0000</bug_when>
    <thetext>It&apos;s entirely reasonable to declare a decimal format in which all the properties are defaulted. If someone does

format-number(123.456, &apos;##.###&apos;, $myformat)

then $myformat must be the name of a format declared in the prolog, and it&apos;s entirely reasonable for one of the formats to use system defaults for all properties.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37186</commentid>
    <comment_count>2</comment_count>
    <who name="Brett Zamir">brettz9</who>
    <bug_when>2010-07-30 09:32:12 +0000</bug_when>
    <thetext>Ok, that is reasonable. I think it might help to spell that fact out though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39150</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2010-09-21 16:26:55 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Ok, that is reasonable. I think it might help to spell that fact out though.

The Working Group agrees. We will explain this in the text.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>