<?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>5621</bug_id>
          
          <creation_ts>2008-04-03 18:08:24 +0000</creation_ts>
          <short_desc>INCORRECT RESULT IN FTDISTANCE EXAMPLE</short_desc>
          <delta_ts>2008-04-04 17:08:14 +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>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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="Thomas Baby">thomas.baby</reporter>
          <assigned_to name="Jim Melton">jim.melton</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>19726</commentid>
    <comment_count>0</comment_count>
    <who name="Thomas Baby">thomas.baby</who>
    <bug_when>2008-04-03 18:08:24 +0000</bug_when>
    <thetext>In Section 4.2.7.9, after the example, we say the following:

&quot;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.&quot;

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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19729</commentid>
    <comment_count>1</comment_count>
    <who name="Liam R E Quin">liam</who>
    <bug_when>2008-04-03 21:48:11 +0000</bug_when>
    <thetext>You are right, and it has been fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19739</commentid>
    <comment_count>2</comment_count>
    <who name="Pat Case">pcase</who>
    <bug_when>2008-04-04 17:08:14 +0000</bug_when>
    <thetext>Closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>