<?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>6275</bug_id>
          
          <creation_ts>2008-12-04 15:11:05 +0000</creation_ts>
          <short_desc>[XQuery 1.1] Computed Namespace Constructors</short_desc>
          <delta_ts>2013-06-19 07:43:17 +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>CLOSED</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 Kay">mike</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>22679</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-12-04 15:11:05 +0000</bug_when>
    <thetext>This relates to the public WD dates 3 December 2008.

Section 3.7.3.7 Computed Namespace Constructors

1. A trivial typo: &quot;creates a new namespacee node,&quot;

2. The current text says:

...the prefix expression is evaluated as follows: Atomization is applied to the result of the name expression. If the result of atomization [is] a single atomic value of type xs:NCName, xs:string, or xs:untypedAtomic, it is used as the prefix property of the newly constructed namespace node.

2a: missing &quot;is&quot; where shown

2b: &quot;xs:NCName or xs:string&quot; is redundant. If it&apos;s an xs:NCName then it will also be an xs:string.

2c: there needs to be a rule that it must be valid as an NCName. I would
suggest:

...the prefix expression is evaluated as follows: Atomization is applied to the result of the name expression. If the result of atomization is a single atomic value of type xs:string or xs:untypedAtomic, it is cast to type xs:NCName (which may raise an error FORG0001) and the result is used as the prefix property of the newly constructed namespace node.

3. Section 3.7.4: It seems to me that error XQTY0102 should be XQDY0102. It&apos;s a dynamic error not a type error.

4. The newly-introduced error codes (XQ**0096 onwards), unlike all the older error codes, have no link to the term &quot;static error&quot;, &quot;dynamic error&quot;, or &quot;type error&quot; in their descriptions. Some of them include the term, but unlinked; others do not include the term at all.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>