<?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>13216</bug_id>
          
          <creation_ts>2011-07-11 15:03:13 +0000</creation_ts>
          <short_desc>Expect result of the test Basics/EQNames/eqname-013.xq is incorrect</short_desc>
          <delta_ts>2013-06-11 14:32:59 +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>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="Nicolae Brinza">nbrinza</reporter>
          <assigned_to name="Benjamin Nguyen">benjie.nguyen</assigned_to>
          <cc>oneil</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>50914</commentid>
    <comment_count>0</comment_count>
    <who name="Nicolae Brinza">nbrinza</who>
    <bug_when>2011-07-11 15:03:13 +0000</bug_when>
    <thetext>The XQTS test Basics/EQName/eqname-013.xq:

&lt;out xmlns=&quot;http://www.example.com/one&quot;&gt;{
(&lt;my:a xmlns:my=&quot;http://www.example.com/ns/my&quot;&gt;&lt;my:b&gt;42&lt;/my:b&gt;&lt;b xmlns=&quot;&quot;&gt;93&lt;/b&gt;&lt;/my:a&gt;) / &quot;&quot;:* + 5 
}&lt;/out&gt;

expects the result:

    &lt;out&gt;98&lt;/out&gt;

while the correct result is:

    &lt;out xmlns=&quot;http://www.example.com/one&quot;&gt;98&lt;/out&gt;


Either the expected result can be changed, or the xmlns declaration form the &lt;out/&gt; element can be removed to fix it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50915</commentid>
    <comment_count>1</comment_count>
    <who name="Benjamin Nguyen">benjie.nguyen</who>
    <bug_when>2011-07-11 15:49:54 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; The XQTS test Basics/EQName/eqname-013.xq:
&gt; 
&gt; &lt;out xmlns=&quot;http://www.example.com/one&quot;&gt;{
&gt; (&lt;my:a xmlns:my=&quot;http://www.example.com/ns/my&quot;&gt;&lt;my:b&gt;42&lt;/my:b&gt;&lt;b
&gt; xmlns=&quot;&quot;&gt;93&lt;/b&gt;&lt;/my:a&gt;) / &quot;&quot;:* + 5 
&gt; }&lt;/out&gt;
&gt; 
&gt; expects the result:
&gt; 
&gt;     &lt;out&gt;98&lt;/out&gt;
&gt; 
&gt; while the correct result is:
&gt; 
&gt;     &lt;out xmlns=&quot;http://www.example.com/one&quot;&gt;98&lt;/out&gt;
&gt; 
&gt; 
&gt; Either the expected result can be changed, or the xmlns declaration form the
&gt; &lt;out/&gt; element can be removed to fix it.

I agree with both solutions, I suggest changing the query, since I figure the namespace around the out element was not meant to be tested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89087</commentid>
    <comment_count>2</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2013-06-11 14:32:59 +0000</bug_when>
    <thetext>This bug has been fixed in QT3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>