W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2008

[Bug 5884] New: section 3.5.4 Not-selection 2nd example query is NOT correct

From: <bugzilla@wiggum.w3.org>
Date: Mon, 21 Jul 2008 18:09:03 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-5884-523@http.www.w3.org/Bugs/Public/>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5884

           Summary: section 3.5.4 Not-selection 2nd example query is NOT
                    correct
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Full Text 1.0
        AssignedTo: jim.melton@acm.org
        ReportedBy: zhen.liu@oracle.com
         QAContact: public-qt-comments@w3.org


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>


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 21 July 2008 18:09:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:37 UTC