[Bug 2688] Bug in fn:index-of: incorrect parameter name

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

           Summary: Bug in fn:index-of: incorrect parameter name
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: chamberl@almaden.ibm.com
         QAContact: public-qt-comments@w3.org


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.

Received on Monday, 9 January 2006 22:07:38 UTC