W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2011

[Bug 12807] New: [XQFTTS] xquery-xpath-composability-queries-results-q9* tests assume stemming algorithm

From: <bugzilla@jessica.w3.org>
Date: Sat, 28 May 2011 14:25:47 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-12807-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12807

           Summary: [XQFTTS]
                    xquery-xpath-composability-queries-results-q9* tests
                    assume stemming algorithm
           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: paul@lucasmail.org
         QAContact: public-qt-comments@w3.org


These queries contains the words "successfully", "completing", and "tasks" and
use stemming.  Our implementation returns the correct result and, additionally,
the "Usability Basics" title.

I think the expected result is due to the test assuming that the stemming
algorithm stems "successfully" to "successful".  Our implementation stems
"successfully" to "success".  Accordingly, the following XML fragment in the
test document:

      <p>Users are asked to complete tasks which
            measure the success of the information
            architecture and navigational elements of the
            site.</p>

matches and, correspondingly, the entire title is matched and returned.  Since
the stem of a token is "implementation-defined", this test is incorrect in
assuming that "successfully" stems to "successful" and not "success".

-- 
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 Saturday, 28 May 2011 14:25:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:12 GMT