<?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>15637</bug_id>
          
          <creation_ts>2012-01-20 08:59:32 +0000</creation_ts>
          <short_desc>[QT3] K2-Axes-54</short_desc>
          <delta_ts>2012-01-20 10:37:46 +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 &amp; XPath 3 Test Suite</component>
          <version>Member-only Editors Drafts</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="Tim Mills">tim</reporter>
          <assigned_to name="Benjamin Nguyen">benjie.nguyen</assigned_to>
          <cc>mike</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>62921</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2012-01-20 08:59:32 +0000</bug_when>
    <thetext>Since XQuery 3.0 supports the namespace access the dependency should be changed to

      &lt;dependency type=&quot;spec&quot; value=&quot;XQ10&quot;/&gt;

for the test

   &lt;test-case name=&quot;K2-Axes-54&quot;&gt;
      &lt;description&gt; The namespace axis is not recognized in XQuery.&lt;/description&gt;
      &lt;created by=&quot;Frans Englich&quot; on=&quot;2007-11-26+01:00&quot;/&gt;
      &lt;dependency type=&quot;spec&quot; value=&quot;XQ10+&quot;/&gt;
      &lt;test&gt;namespace::*&lt;/test&gt;
      &lt;result&gt;
         &lt;error code=&quot;XPST0003&quot;/&gt;
      &lt;/result&gt;
   &lt;/test-case&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62922</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-01-20 09:12:58 +0000</bug_when>
    <thetext>Have I missed something? I wish that XQuery 3.0 did support the namespace axis (now that it supports namespace nodes), but the Dec 2011 draft says twice that it does not, and emotions in the XQuery WG on this topic run sufficiently high that I would not dare to propose changing this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62924</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2012-01-20 09:30:23 +0000</bug_when>
    <thetext>No, it looks as if it is me who is confused, however, I&apos;m sure I&apos;ve just introduced support for the namespace axis in XQuery 3.0 to get some test or other to pass.

On investigation, it turns out that

fn-name-27
fn-string-27

have a dependency on the &quot;namespace-axis&quot; feature rather than a dependency on the specification version.  Would it be worth removing the little used &quot;namespace-axis&quot; dependency in favour of a specification dependency?  It&apos;s only used a few times in

fn/generate-id.xml (twice)
fn/local-name.xml (once)
fn/name.xml (once)
fn/path.xml (thrice)
fn/string.xml (once)

I too wish there wasn&apos;t this difference between XPath and XQuery.  It&apos;s just confusing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62925</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-01-20 10:26:55 +0000</bug_when>
    <thetext>I think we need to retain the namespace-axis dependency to distinguish between XPath processors that support the feature and those that don&apos;t, but we could make life a bit easier by ensuring that any test that depends on this feature also has a spec dependency on XPath.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62927</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2012-01-20 10:37:46 +0000</bug_when>
    <thetext>Good point.  I&apos;ll close this report.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>