This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2804 - Expected error FOTY0011 incorrect when intermediate step of XPATH is an atomic value
Summary: Expected error FOTY0011 incorrect when intermediate step of XPATH is an atomi...
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.4
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 01:11 UTC by Naresh Chainani
Modified: 2006-06-22 13:01 UTC (History)
0 users

See Also:


Attachments

Description Naresh Chainani 2006-02-07 01:11:18 UTC
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 "/" step is executed before invoking the 
function, and hence we should get the XPTY0019 error, instead of the function 
error.
Comment 1 Carmelo Montanez 2006-02-07 16:44:52 UTC
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