<?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>19215</bug_id>
          
          <creation_ts>2012-10-02 16:31:32 +0000</creation_ts>
          <short_desc>[XQuery30] unprefixed name of decimal format</short_desc>
          <delta_ts>2012-10-09 15:36:39 +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>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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Dyck">jmdyck</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          
          
          <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>75070</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2012-10-02 16:31:32 +0000</bug_when>
    <thetext>Section 4.10 &quot;Decimal Format Declaration&quot; is missing a sentence that would tell me how to resolve the name of a decimal format when it&apos;s a lexical QName.

For the case of a QName with a prefix, it&apos;s true that section 2 already says that it&apos;s resolved using the statically known namespaces, but most places repeat this anyway.

For the case of a QName without a prefix, the section definitely needs to say.
Possibilities:
  -- It&apos;s in the default element/type namespace.
  -- It&apos;s in the default function namespace.
  -- It&apos;s in no namespace (like variables and attributes).
  -- It&apos;s in a spec-defined namespace (like Option names).
  -- It&apos;s disallowed (like Pragma names).

====

By the way, there&apos;s also a similar sentence missing from:
  -- 3.10.4 &quot;Window Clause&quot;
     re the CurrentItem, PreviousItem, NextItem in WindowVars
and
  -- 4.18 &quot;Function Declaration&quot;
     re the name of a Param
Presumbly they&apos;re resolved the same as the VarName in a VarDecl, but it wouldn&apos;t hurt to say so.

[first raised here: https://lists.w3.org/Archives/Member/w3c-xsl-query/2012Jul/0041.html ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75697</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2012-10-09 15:36:39 +0000</bug_when>
    <thetext>In today&apos;s call we decided that an unprefixed name is in no namespace, like format-number.

All variable names in variable references should follow the same rules as a  VarName in a VarDecl.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>