This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5884 - [FT] section 3.5.4 Not-selection 2nd example query is NOT correct
Summary: [FT] section 3.5.4 Not-selection 2nd example query is NOT correct
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Full Text 1.0 (show other bugs)
Version: Candidate Recommendation
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Jim Melton
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-21 18:09 UTC by zhen hua liu
Modified: 2008-08-26 18:41 UTC (History)
0 users

See Also:


Attachments

Description zhen hua liu 2008-07-21 18:09:03 UTC
http://www.w3.org/TR/xpath-full-text-10/#sec-ftnot:

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

//book ftcontains "information" ftand
"retrieval" ftand ftnot "information retrieval"

This is NOT correct because the example document does NOT have "information"
and "retrieval".

The example document is at http://www.w3.org/TR/xpath-full-text-10/#ftselections
with following contents:
<books>
  <book number="1">
    <title shortTitle="Improving Web Site Usability">Improving  
        the Usability of a Web Site Through Expert Reviews and
        Usability Testing</title>
    <author>Millicent Marigold</author>
    <author>Montana Marigold</author>
    <editor>VĂ©ra Tudor-Medina</editor>
    <content>
      <p>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.
      </p>
      <note>This book has been approved by the Web Site  
          Users Association.
      </note>
    </content>
  </book>
</books>
Comment 1 Jim Melton 2008-08-26 18:40:33 UTC
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.