<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>6593</bug_id>
          
          <creation_ts>2009-02-18 14:35:04 +0000</creation_ts>
          <short_desc>question about times option</short_desc>
          <delta_ts>2011-01-06 15:44:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Full Text 1.0</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/xpath-full-text-10/#tq-ft-fs-FTTimes</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Petr Pleshachkov">peter.pleshachkov</reporter>
          <assigned_to name="Jim Melton">jim.melton</assigned_to>
          <cc>jmdyck</cc>
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23818</commentid>
    <comment_count>0</comment_count>
    <who name="Petr Pleshachkov">peter.pleshachkov</who>
    <bug_when>2009-02-18 14:35:04 +0000</bug_when>
    <thetext>Dear authors,

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

(&lt;p&gt;foo bar foo bar bar foo&lt;/p&gt;)[. ftcontains &quot;foo&quot; occurs at least 2 times window 3 words]

This query should return true or false ? 

Thanks,
Petr</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23819</commentid>
    <comment_count>1</comment_count>
    <who name="Petr Pleshachkov">peter.pleshachkov</who>
    <bug_when>2009-02-18 14:36:11 +0000</bug_when>
    <thetext>I am sorry, the query is :

(&lt;p&gt;foo bar foo bar bar foo&lt;/p&gt;) ftcontains &quot;foo&quot; occurs at least 2 times
window 3 words
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23821</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2009-02-18 19:14:20 +0000</bug_when>
    <thetext>[personal response:]

I believe it returns true (assuming a reasonable tokenizer).
The combination of the first and third words constitutes a match for
    &quot;foo&quot; occurs at least 2 times
and that match also satisfies
    window 3 words</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23962</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2009-02-26 17:57:15 +0000</bug_when>
    <thetext>At its meeting today, the Task Force agreed with my response in comment #2.
Consequently, I&apos;m marking this issue resolved-WORKSFORME (the closest
resolution we have to &quot;You asked a question and we answered it&quot;).

If you accept this resolution, please mark the issue CLOSED.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>