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 4355 - [FT] 3.3.7 FTDistance
Summary: [FT] 3.3.7 FTDistance
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 normal
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: 2007-02-27 23:57 UTC by Mary Holstege
Modified: 2007-04-02 21:18 UTC (History)
0 users

See Also:


Attachments

Description Mary Holstege 2007-02-27 23:57:38 UTC
What does "distance from 10 to 1 words" mean?

(a) Same as "distance from 1 to 10 words"
(b) Nothing will ever match, as nothing is ever more than 10 words distant
    and less than 1 word distant?
(c) Error
Comment 1 Mary Holstege 2007-02-27 23:58:05 UTC
Similarly with "occurs 10 to 1 times"
Comment 2 Jim Melton 2007-03-16 19:48:07 UTC
The Task Force discussed this comment and determined that, for compatibility with the behavior of XQuery itself, the result of both examples would be the empty sequence -- that is, no matches would result.  Careful reading of the text describing the semantics of from...to and occurs...times revealed that this was already the prescribed behavior, but the Task Force agreed to add additional text to make the behavior clear to a more casual reader. 

We have therefore marked this bug FIXED.  If you agree with the resolution, please mark it CLOSED> 
Comment 3 Mary Holstege 2007-04-02 21:18:38 UTC
Added note as agreed by task force.