<?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>5087</bug_id>
          
          <creation_ts>2007-09-29 17:04:38 +0000</creation_ts>
          <short_desc>namespacedecl-3</short_desc>
          <delta_ts>2008-06-30 16:14:27 +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 XP</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 Kay">mike</reporter>
          <assigned_to name="Frans Englich">frans.englich</assigned_to>
          <cc>frans.englich</cc>
    
    <cc>tim</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>16873</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2007-09-29 17:04:38 +0000</bug_when>
    <thetext>The effect of the erratum agreed against bug #4463 is that query namespace-decl-3 is now a valid query.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16966</commentid>
    <comment_count>1</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2007-10-02 09:51:01 +0000</bug_when>
    <thetext>A fix has been attempted in CVS, XQTS_current.zip is updated.

If the resolution is satisfactory, feel free to change status to closed. Otherwise reopen this report. If no feedback is given within two weeks, status will be set to closed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20415</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-06-09 09:29:05 +0000</bug_when>
    <thetext>In the current CVS version of the catalog, namespace-decl-3 is still recorded as expecting an error result.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20416</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-06-09 09:30:40 +0000</bug_when>
    <thetext>Sorry, the name of the test is

namespaceDecl-3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20799</commentid>
    <comment_count>4</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2008-06-24 14:45:33 +0000</bug_when>
    <thetext>Ok, a second attempt is in CVS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20907</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2008-06-26 12:33:11 +0000</bug_when>
    <thetext>I&apos;m probably missing something here, but shouldn&apos;t this be expecting XQTS0070?

Quoting from Bug 4463:

&quot;(1) Section 4.12 (Namespace Declaration)

Replace paragraph 5 as follows:

The namespace prefix specified in a namespace declaration must not be xml 
or xmlns [err:XQST0070].&quot;


That said, I note that Bug 4463 hasn&apos;t been listing in Errata for XQuery 1.0.  What&apos;s the current status?

(: Name: namespaceDecl-3:)
(: Description: Evaluation of usage of predefined namespace xml = &quot;http://www.w3
.org/XML/1998/namespace&quot;:)

declare namespace xml = &quot;http://www.w3.org/XML/1998/namespace&quot;;

(: insert-start :)
declare variable $input-context1 extern
al;
(: insert-end :)
&quot;a&quot;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20915</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-06-26 12:55:47 +0000</bug_when>
    <thetext>Agreed - it seems that the outcome of bug 4463 is that explicitly binding the prefix &quot;xml&quot; to the XML namespace is OK in a direct element constructor but not in the prolog. Sigh.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20922</commentid>
    <comment_count>7</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2008-06-26 13:18:05 +0000</bug_when>
    <thetext>Alrighty, CVS should be back to where we started.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20989</commentid>
    <comment_count>8</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2008-06-30 16:14:27 +0000</bug_when>
    <thetext>I&apos;m getting an error runnng Catalog002 which may indicate an error in the catalog.

Expected &apos;&lt;standard-no-outputfile&gt;&lt;/standard-no-outputfile&gt;&apos;, 
was &apos;&lt;standard-no-outputfile&gt;namespaceDecl-3&lt;/standard-no-outputfile&gt;&apos;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>