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 5621 - INCORRECT RESULT IN FTDISTANCE EXAMPLE
Summary: INCORRECT RESULT IN FTDISTANCE EXAMPLE
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Full Text 1.0 (show other bugs)
Version: Working drafts
Hardware: PC Windows XP
: P2 minor
Target Milestone: ---
Assignee: Jim Melton
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-03 18:08 UTC by Thomas Baby
Modified: 2008-04-04 17:08 UTC (History)
0 users

See Also:


Attachments

Description Thomas Baby 2008-04-03 18:08:24 UTC
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.
Comment 1 Liam R E Quin 2008-04-03 21:48:11 UTC
You are right, and it has been fixed.
Comment 2 Pat Case 2008-04-04 17:08:14 UTC
Closed.