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 2996 - fn-id-3 and fn-idref-3 expect FOTY0011 where it should be XPTY0004
Summary: fn-id-3 and fn-idref-3 expect FOTY0011 where it should be XPTY0004
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.6
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-09 10:35 UTC by Marc Van Cappellen
Modified: 2006-05-17 22:17 UTC (History)
0 users

See Also:


Attachments

Description Marc Van Cappellen 2006-03-09 10:35:19 UTC
The following tests expect FOTY0011 where we believe it should be XPTY0004.
Both tests fail because an xs:string cannot be passed to a node() argument according to the function conversion rules (http://www.w3.org/TR/xquery/#id-function-calls).

- fn-id-3.xq
- fn-idref-3.xq


An editorial side remark, the descriptio in the fn-id-3.xq file reads as follows: "Evaluation of fn:id with second argument ommited and no context item."
This is not in sync with the actual sceanrio being tested, it should probably be something like "Evaluation of fn:id with second argument not a node."

Best regards,
Marc
Comment 1 Carmelo Montanez 2006-03-16 15:28:07 UTC
Marc:

You are correct.  I changed both the documentation and expected outcome.

Please close bug if in agreement and when able to verify.

Thanks,
Carmelo
Comment 2 Marc Van Cappellen 2006-05-17 22:17:18 UTC
verified and looks ok