<?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>5734</bug_id>
          
          <creation_ts>2008-06-09 09:53:08 +0000</creation_ts>
          <short_desc>K2-ComputeConAttr-37</short_desc>
          <delta_ts>2008-12-09 22:17:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Query Test Suite</product>
          <component>XML Query Test Suite</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</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="Frans Englich">frans.englich</assigned_to>
          <cc>frans.englich</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>20417</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-06-09 09:53:08 +0000</bug_when>
    <thetext>The test is

attribute xmlns:localName {&quot;content&quot;}

Error code XQDY0044 seems more appropriate than XPST0081:

err:XQDY0044 It is a dynamic error if the node-name property of the node constructed by a computed attribute constructor is in the namespace http://www.w3.org/2000/xmlns/ (corresponding to namespace prefix xmlns), or is in no namespace and has local name xmlns.

Similarly K2-ComputeConAttr-38</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20787</commentid>
    <comment_count>1</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2008-06-24 13:23:30 +0000</bug_when>
    <thetext>So prefix xmlns, bound to &quot;http://www.w3.org/2000/xmlns/&quot;, is a binding that is by default available?

http://www.w3.org/2000/xmlns/ are &quot;fn, xml, xs, xsi, local&quot;, so to me it seems one can never get that far as to saying it&apos;s in the namespace http://www.w3.org/2000/xmlns/.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22716</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-12-09 22:17:00 +0000</bug_when>
    <thetext>Closed because I think Frank is probably right. The spec is a little curious in treating &quot;attribute xmlns:abc {$uri}&quot; as a static error XPST0081 while treating &quot;attribute xmlns {$uri}&quot; as a dynamic error XQDY0044, but that does seem to be the intended reading.

Technically, however, one could argue for XQDY0044 for this one on the grounds that the &quot;statically known namespaces&quot; can be augmented by the implementation, and that includes the option of augmenting it with the binding xmlns=http://www.w3.org/2000/xmlns/

Michael Kay</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>