[Bug 6223] [XQFTTS] cont.

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





--- Comment #14 from Christian Gruen <christian.gruen@gmail.com>  2009-02-04 11:53:14 ---
Dear Pat, 

thank you for the updates on my comments. Yes, I think it is a good idea to use
the 'inspect' property for handling scoring queries. - Just a last note to
comment #17:

> [17] ...I would expect <title>Heuristic Evaluation</title>...
> as second result.
> 
> --<title>Heuristic Evaluation</title>'s <p> doesn't contain "usability 
> testing" so even if it has the same following sibling as <title>Usability
> Testing></title>'s <p>, I don't see it as a possible result. Sure I built 
> these to work one way and that might make it harder for me to see 
> alternatives. Let me know if you disagree.

I just tested this one again, and indeed it was wrong from me to talk about a
"second result". Instead, the query is supposed to return all chapters, and
only the one is shown in the result which contains the keywords. Below I've
attached the current and the expected result:

=== QUERY =========================================================

for $book in $input-context/books/book
let $chapters := $book//chapter
where $chapters[./p ftcontains "usability 
   testing" and ./p/following-sibling::p ftcontains 
   "information architecture"]
return ($book/metadata/title, $chapters)

--- CURRENT -------------------------------------------------------

<title shortTitle="Improving Web Site Usability">Improving 
the Usability of a Web Site Through Expert Reviews and 
Usability Testing</title>
 <chapter>
     <title>Usability Testing</title>
     <p>Once the problems identified by expert 
     reviews have been corrected, it is time to 
     conduct some tests of the site with your unique 
     audience or audiences by conducting usability 
     testing.</p>
     <p>Users are asked to complete tasks which 
     measure the success of the information 
     architecture and navigational elements of the 
     site.</p>
     <p>Then changes are made to improve service to 
     users.</p>
</chapter>

--- EXPECTED ------------------------------------------------------

<title shortTitle="Improving Web Site Usability">Improving 
      the Usability of a Web Site Through Expert Reviews and 
      Usability Testing</title>
<chapter>
  <title>Heuristic Evaluation</title>
  <p>Expert reviewers critique an interface to 
            determine conformance with recognized 
            usability principles.<footnote>One of the 
            best known lists of heuristics is<citation
url="http://www.useit.com/papers/heuristic/heuristic_list.html">Ten Usability 
            Heuristics by Jacob Nielson</citation>. Another 
            is<citation
url="http://usability.gov/guidelines/index.html">Research-Based Web 
            Design and Usability Guidelines</citation>
    </footnote>
  </p>
</chapter>
<chapter>
  <title>Cognitive Walk-Through</title>
  <p>Expert reviewers evaluate Web site 
            understandability and ease of learning while 
            performing specified tasks. They walk through 
            the site answering questions such as "Would a 
            user know by looking at the screen how to 
            complete the first step of the task?" and "If 
            the user completed the first step, would the 
            user know what to do next?," with the goal of 
            identifying any obstacles to completing the 
            task and assessing whether the user would 
            cognitively be aware that he was successful in 
            completing a step in the process.</p>
</chapter>
<chapter>
  <title>Usability Testing</title>
  <p>Once the problems identified by expert 
            reviews have been corrected, it is time to 
            conduct some tests of the site with your unique 
            audience or audiences by conducting usability 
            testing.</p>
  <p>Users are asked to complete tasks which 
            measure the success of the information 
            architecture and navigational elements of the 
            site.</p>
  <p>Then changes are made to improve service to 
            users.</p>
</chapter>



Thanks,

Christian, BaseX Team 
http://www.basex.org


-- 
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 Wednesday, 4 February 2009 11:53:23 UTC