[Bug 14827] New: [FO30] path005

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14827

           Summary: [FO30] path005
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
               URL: http://www.w3.org/XML/Group/qtspecs/specifications/xpa
                    th-functions-30/html/Overview.html#func-path
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
        AssignedTo: benjie.nguyen@gmail.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


This test expects

@"":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

"For an attribute node:

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

Shouldn't this therefore be just

@idref

that is,

<assert-string-value>/"http://www.w3.org/2010/09/qt-fots-catalog":test-set[1]/"http://www.w3.org/2010/09/qt-fots-catalog":link[1]/@idref</assert-string-value>

  <test-case name="path005">
      <description>path() applied to no-namespace attribute</description>
      <created by="Michael Kay" on="2011-06-08"/>
      <environment ref="pathdata"/>
      <test>fn:path((//@idref)[1])</test>
      <result>
         <all-of>
           
<assert-string-value>/"http://www.w3.org/2010/09/qt-fots-catalog":test-set[1]/"http://www.w3.org/2010/09/qt-fots-catalog":link[1]/@"":idref</assert-string-value>
            <assert-type>xs:string</assert-type>
         </all-of>
      </result>
   </test-case>

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 14 November 2011 17:26:14 UTC