[Bug 5621] INCORRECT RESULT IN FTDISTANCE EXAMPLE

           Summary: INCORRECT RESULT IN FTDISTANCE EXAMPLE
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Full Text 1.0
        AssignedTo: jim.melton@acm.org
        ReportedBy: thomas.baby@oracle.com
         QAContact: public-qt-comments@w3.org


In Section 4.2.7.9, after the example, we say the following:

"The result for the FTDistance selection consists of only the first Match (with
positions 1, 2, and 5), because only for this Match the word distance between
consecutive TokenInfos is always less than or equal to 3. It is 1 for the first
pair and 3 for the second."

I think this statement is incorrect. The Match record with positions
((27,28),(25)) should also be returned in the result, because the word distance
between the two StringMatches in this Match record is also at most 3 words.

Received on Friday, 4 April 2008 09:59:10 UTC