<?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>10271</bug_id>
          
          <creation_ts>2010-07-30 06:55:55 +0000</creation_ts>
          <short_desc>[XQuery11]: Wrong error for duplicate decimal format declarations</short_desc>
          <delta_ts>2010-09-21 16:22:52 +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>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>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>37179</commentid>
    <comment_count>0</comment_count>
    <who name="Brett Zamir">brettz9</who>
    <bug_when>2010-07-30 06:55:55 +0000</bug_when>
    <thetext>Section 4.10 on &quot;Decimal-Format Declaration&quot; states:

&quot;It is a static error for a query prolog to contain two decimal formats with the same name, or to contain two default decimal formats. [err:XQST0096].&quot;

Error XQST0096, however, refers instead to computed constructors: &quot;It is a dynamic error the node-name of a node constructed by a computed element constructor has any of the following properties...&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37183</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2010-07-30 09:03:56 +0000</bug_when>
    <thetext>*** Bug 6291 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39142</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2010-09-21 15:57:04 +0000</bug_when>
    <thetext>This is clearly a bug that needs to be fixed (it originated when merging errors into the list).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39148</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2010-09-21 16:22:52 +0000</bug_when>
    <thetext>I&apos;ll create a new error code for this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>