<?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>2804</bug_id>
          
          <creation_ts>2006-02-07 01:11:18 +0000</creation_ts>
          <short_desc>Expected error FOTY0011 incorrect when intermediate step of XPATH is an atomic value</short_desc>
          <delta_ts>2006-06-22 13:01:17 +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>0.8.4</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</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="Naresh Chainani">fornaresh</reporter>
          <assigned_to name="Carmelo Montanez">carmelo</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>8136</commentid>
    <comment_count>0</comment_count>
    <who name="Naresh Chainani">fornaresh</who>
    <bug_when>2006-02-07 01:11:18 +0000</bug_when>
    <thetext>The following tests return FOTY0011 (context item not a node) instead of 
XPTY0019 (intermediate step in path expression contains atomic value):
fn-local-name-2
fn-namespace-uri-3
fn-root-2

In the expression 100/fn:name(), the &quot;/&quot; step is executed before invoking the 
function, and hence we should get the XPTY0019 error, instead of the function 
error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8146</commentid>
    <comment_count>1</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-02-07 16:44:52 +0000</bug_when>
    <thetext>Naresh:

Correct.  Modified the test to eliminate the step in path expression.
Please close the bug when able to verify and if in agreement.

Thanks,
Carmelo</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>