<?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>14827</bug_id>
          
          <creation_ts>2011-11-14 17:25:52 +0000</creation_ts>
          <short_desc>[FO30] path005</short_desc>
          <delta_ts>2011-11-17 14:31:26 +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>FIXED</resolution>
          
          
          <bug_file_loc>http://www.w3.org/XML/Group/qtspecs/specifications/xpath-functions-30/html/Overview.html#func-path</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>60028</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2011-11-14 17:25:52 +0000</bug_when>
    <thetext>This test expects

@&quot;&quot;:idref

as the final part of the result.

Fron:

http://www.w3.org/XML/Group/qtspecs/specifications/xpath-functions-30/html/Overview.html#func-path

&quot;For an attribute node:

    if the node is in no namespace, @{local}, where {local} is the local part of the node name&quot;

Shouldn&apos;t this therefore be just

@idref

that is,

&lt;assert-string-value&gt;/&quot;http://www.w3.org/2010/09/qt-fots-catalog&quot;:test-set[1]/&quot;http://www.w3.org/2010/09/qt-fots-catalog&quot;:link[1]/@idref&lt;/assert-string-value&gt;

  &lt;test-case name=&quot;path005&quot;&gt;
      &lt;description&gt;path() applied to no-namespace attribute&lt;/description&gt;
      &lt;created by=&quot;Michael Kay&quot; on=&quot;2011-06-08&quot;/&gt;
      &lt;environment ref=&quot;pathdata&quot;/&gt;
      &lt;test&gt;fn:path((//@idref)[1])&lt;/test&gt;
      &lt;result&gt;
         &lt;all-of&gt;
            &lt;assert-string-value&gt;/&quot;http://www.w3.org/2010/09/qt-fots-catalog&quot;:test-set[1]/&quot;http://www.w3.org/2010/09/qt-fots-catalog&quot;:link[1]/@&quot;&quot;:idref&lt;/assert-string-value&gt;
            &lt;assert-type&gt;xs:string&lt;/assert-type&gt;
         &lt;/all-of&gt;
      &lt;/result&gt;
   &lt;/test-case&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60096</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2011-11-17 10:47:06 +0000</bug_when>
    <thetext>Corrected the expected results of the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60106</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2011-11-17 14:31:26 +0000</bug_when>
    <thetext>Confirmed fixed.  Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>