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 2688 - Bug in fn:index-of: incorrect parameter name
Summary: Bug in fn:index-of: incorrect parameter name
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows XP
: P2 minor
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-09 22:07 UTC by Don Chamberlin
Modified: 2006-01-24 15:22 UTC (History)
0 users

See Also:


Attachments

Description Don Chamberlin 2006-01-09 22:07:33 UTC
Description of fn:index-of contains this paragraph:

The items in the sequence $seqParam are compared with $srchParam under the 
rules for the eq operator. Values that cannot be compared, i.e. the eq operator 
is not defined for their types, are considered to be distinct. If an item 
compares equal, then the position of that item in the sequence $srchParam is 
included in the result.

In the final sentence, $srchParam should be $seqParam.
Comment 1 Ashok Malhotra 2006-01-09 23:36:20 UTC
Thanks!  Fixed.