<?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>5884</bug_id>
          
          <creation_ts>2008-07-21 18:09:03 +0000</creation_ts>
          <short_desc>[FT] section 3.5.4 Not-selection 2nd example query is NOT correct</short_desc>
          <delta_ts>2008-08-26 18:41:01 +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>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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="zhen hua liu">zhen.liu</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>21262</commentid>
    <comment_count>0</comment_count>
    <who name="zhen hua liu">zhen.liu</who>
    <bug_when>2008-07-21 18:09:03 +0000</bug_when>
    <thetext>http://www.w3.org/TR/xpath-full-text-10/#sec-ftnot:

The following expression returns true, because book elements contain &quot;information&quot; and &quot;retrieval&quot; but not &quot;information retrieval&quot;:

//book ftcontains &quot;information&quot; ftand
&quot;retrieval&quot; ftand ftnot &quot;information retrieval&quot;

This is NOT correct because the example document does NOT have &quot;information&quot;
and &quot;retrieval&quot;.

The example document is at http://www.w3.org/TR/xpath-full-text-10/#ftselections
with following contents:
&lt;books&gt;
  &lt;book number=&quot;1&quot;&gt;
    &lt;title shortTitle=&quot;Improving Web Site Usability&quot;&gt;Improving  
        the Usability of a Web Site Through Expert Reviews and
        Usability Testing&lt;/title&gt;
    &lt;author&gt;Millicent Marigold&lt;/author&gt;
    &lt;author&gt;Montana Marigold&lt;/author&gt;
    &lt;editor&gt;Véra Tudor-Medina&lt;/editor&gt;
    &lt;content&gt;
      &lt;p&gt;The usability of a Web site is how well the  
          site supports the users in achieving specified  
          goals. A Web site should facilitate learning,  
          and enable efficient and effective task  
          completion, while propagating few errors.
      &lt;/p&gt;
      &lt;note&gt;This book has been approved by the Web Site  
          Users Association.
      &lt;/note&gt;
    &lt;/content&gt;
  &lt;/book&gt;
&lt;/books&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21659</commentid>
    <comment_count>1</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2008-08-26 18:40:33 +0000</bug_when>
    <thetext>The Full-Text Task Force has discussed the problem and created a fix for the example in question. Those changes have been made to the internal draft of the FT spec.  We are therefore marking this bug FIXED. 

Because you were present when the decision was made, we presume that you are
satisfied and are also marking the bug CLOSED. </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>