<?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>6335</bug_id>
          
          <creation_ts>2008-12-29 12:54:41 +0000</creation_ts>
          <short_desc>[FT] fts:ApplyFTContent definition</short_desc>
          <delta_ts>2011-01-06 15:44:25 +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>FIXED</resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/xpath-full-text-10/#tq-ft-fs-FTContent</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>22857</commentid>
    <comment_count>0</comment_count>
    <who name="Petr Pleshachkov">peter.pleshachkov</who>
    <bug_when>2008-12-29 12:54:41 +0000</bug_when>
    <thetext>Dear authors,

In section 4.2.7.7 FTContent you say:  &quot;entire content is evaluated as distance exactly 0 words at start at end&quot;, but in the definition of fts:ApplyFTContent function you have the fragment:

      let $temp1 := fts:ApplyFTWordDistanceExactly(
                        $allMatches,
                        1)

where $temp1 is assigned the result of fts:ApplyFTWordDistanceExactly with distance 1. Is it correct ? It seems to me that the distance should be 0. 

Kind regards
Peter</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23970</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2009-02-27 02:37:11 +0000</bug_when>
    <thetext>Indeed, that &apos;1&apos; should have been a &apos;0&apos;.

However, looking into the matter, the Task Force determined that
    distance exactly 0 words at start at end
did not correctly reflect the intended semantics of &apos;entire content&apos;
given in section 3.6.5 (i.e., the idea of covering every token position in
the search context).  In the next version of the FT spec, the definition
of fts:ApplyFTContent will better reflect those semantics.

Consequently, I am marking this issue resolved-FIXED. If you accept this
resolution, please mark it CLOSED.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>