<?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>4714</bug_id>
          
          <creation_ts>2007-06-23 10:06:18 +0000</creation_ts>
          <short_desc>[FT] editorial: 3.5.2 Window Selection</short_desc>
          <delta_ts>2008-02-16 07:22:23 +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>Last Call drafts</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Dyck">jmdyck</reporter>
          <assigned_to name="Jochen Doerre">doerre</assigned_to>
          
          
          <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>15542</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2007-06-23 10:06:18 +0000</bug_when>
    <thetext>3.5.2 Window Selection

[1]
para 1
&quot;A window selection consist of&quot;
    s/consist/consists/

[2]
example 4
&apos;The following expression returns the empty sequence, because in the
selected book element, there is no occurrence of &quot;efficient&quot; within a
window of 3 tokens which would not also contain an occurrence of &quot;and&quot;:
/book[@number=&quot;1&quot; and . ftcontains &quot;efficient&quot;
ftand ftnot &quot;and&quot; window 3 words]&apos;
    [2a]
    But don&apos;t the occurrences of &quot;and&quot; give rise to StringExcludes? If the
    window selection only cares about whether StringIncludes fall within a
    window, the position of the &quot;and&quot; tokens shouldn&apos;t matter.

    [2b]
    If the &quot;3&quot; were changed to &quot;2&quot; or &quot;1&quot;, would it return true?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16129</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2007-08-13 00:41:42 +0000</bug_when>
    <thetext>Further to [2a]:
Currently, the description of Window Selection, and the semantic function fts:ApplyFTWordWindow in 4.2.7.8 FTWindow, say that StringExcludes in a match for the operand full-text selection don&apos;t affect whether that match is also a match for the Window Selection (only the StringIncludes matter), but I&apos;m pretty sure that&apos;s incorrect.

Instead, I think the Window Selection must also require that any StringExcludes in an operand match fall outside the window.  (It&apos;s not clear how it should treat a StringExclude that is only *partly* outside the window.)
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17491</commentid>
    <comment_count>2</comment_count>
    <who name="Jochen Doerre">doerre</who>
    <bug_when>2007-10-29 19:02:08 +0000</bug_when>
    <thetext>[1] is fixed in CVS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18501</commentid>
    <comment_count>3</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2008-01-24 15:08:06 +0000</bug_when>
    <thetext>The Task Force considered item [2] at its F2F meeting on 2008-01-24 and adopted the proposal in member-only FTTF email http://lists.w3.org/Archives/Member/member-query-fttf/2007Dec/0004.html.  The solution was accepted as written and the changes applied to the document.

Michael, if you agree with the changes made, please close this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19094</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2008-02-16 07:22:23 +0000</bug_when>
    <thetext>Looks good.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>