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 6593 - question about times option
Summary: question about times option
Status: CLOSED WORKSFORME
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Full Text 1.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Jim Melton
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL: http://www.w3.org/TR/xpath-full-text-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-18 14:35 UTC by Petr Pleshachkov
Modified: 2011-01-06 15:44 UTC (History)
1 user (show)

See Also:


Attachments

Description Petr Pleshachkov 2009-02-18 14:35:04 UTC
Dear authors,

I have a question about the result of the following query:

(<p>foo bar foo bar bar foo</p>)[. ftcontains "foo" occurs at least 2 times window 3 words]

This query should return true or false ? 

Thanks,
Petr
Comment 1 Petr Pleshachkov 2009-02-18 14:36:11 UTC
I am sorry, the query is :

(<p>foo bar foo bar bar foo</p>) ftcontains "foo" occurs at least 2 times
window 3 words
Comment 2 Michael Dyck 2009-02-18 19:14:20 UTC
[personal response:]

I believe it returns true (assuming a reasonable tokenizer).
The combination of the first and third words constitutes a match for
    "foo" occurs at least 2 times
and that match also satisfies
    window 3 words
Comment 3 Michael Dyck 2009-02-26 17:57:15 UTC
At its meeting today, the Task Force agreed with my response in comment #2.
Consequently, I'm marking this issue resolved-WORKSFORME (the closest
resolution we have to "You asked a question and we answered it").

If you accept this resolution, please mark the issue CLOSED.