<?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>7006</bug_id>
          
          <creation_ts>2009-06-09 14:14:47 +0000</creation_ts>
          <short_desc>[FT] Test Suite</short_desc>
          <delta_ts>2009-07-06 18:31:39 +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>Proposed 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="Christian Gruen">christian.gruen</reporter>
          <assigned_to name="Jim Melton">jim.melton</assigned_to>
          <cc>pcase</cc>
    
    <cc>zhen.liu</cc>
          
          <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>25523</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Gruen">christian.gruen</who>
    <bug_when>2009-06-09 14:14:47 +0000</bug_when>
    <thetext>Dear all,

just two bugs this time..

[1] FTExtension-Opt-q4.xq
  I would expect an empty result, but no result file
  is specified in the catalog.

[2] xquery-xpath-composability-queries-results-q8
  I don&apos;t get results for this query, as &quot;Usability Basics&quot;
  does not occur in book &quot;1&quot;.


Best wishes,
Christian</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25540</commentid>
    <comment_count>1</comment_count>
    <who name="Pat Case">pcase</who>
    <bug_when>2009-06-11 00:58:06 +0000</bug_when>
    <thetext>Christian,

Re: [2] xquery-xpath-composability-queries-results-q8
  I don&apos;t get results for this query, as &quot;Usability Basics&quot;
  does not occur in book &quot;1&quot;.

I changed the initial for to let.

Thanks again for working with me to give the details right!!!

Only item 1 remains to be done.

Pat</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25798</commentid>
    <comment_count>2</comment_count>
    <who name="Christian Gruen">christian.gruen</who>
    <bug_when>2009-06-29 15:35:56 +0000</bug_when>
    <thetext>Hi again,

I&apos;ve come across three other potential bugs in the test suite. Let&apos;s hope that these are the last ones:


[3] FTWindow-complexwords1.xq

Query (ftbookexample.xml):
  $input-context/books/book[para ftcontains (&quot;ninja&quot; ftand &quot;coder&quot;
    ftand &quot;knows&quot;) window 3 words]/title

Test Suite Result:
  empty result

Expected Result:
  &lt;title&gt;Ninja Coder&lt;/title&gt;


[4] FTWindow-complexwords3.xq

Query (ftbookexample.xml):
  $input-context/books/book[para ftcontains (&quot;ninja&quot; ftand &quot;coder&quot;
    window 2 words) ftand &quot;knows&quot; distance exactly 3 words]/title

Expected Query:
  ...distance exactly 0 words...


[5] ftstopword-q9.xq

Query (FT-3-examples-source-document.xml):
  $input-context/books/book[.//content ftcontains &quot;supports some users of&quot;
  with stop words at &quot;http://bstore1.example.com/StopWordList.xml&quot;
            union at &quot;http://bstore1.example.com/StopWordList2.xml&quot; 
            union at &quot;http://bstore1.example.com/StopWordList4.xml&quot; 
           except at &quot;http://bstore1.example.com/StopWordList5.xml&quot;]

Test Suite Result:
  empty result

Expected Result:
  &lt;book number=&quot;1&quot;&gt;...&lt;/book&gt;


Best,
Christian

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25802</commentid>
    <comment_count>3</comment_count>
    <who name="Pat Case">pcase</who>
    <bug_when>2009-06-29 17:29:35 +0000</bug_when>
    <thetext>Christian,

Re: [5] ftstopword-q9.xq

Query (FT-3-examples-source-document.xml):
  $input-context/books/book[.//content ftcontains &quot;supports some users of&quot;
  with stop words at &quot;http://bstore1.example.com/StopWordList.xml&quot;
            union at &quot;http://bstore1.example.com/StopWordList2.xml&quot; 
            union at &quot;http://bstore1.example.com/StopWordList4.xml&quot; 
           except at &quot;http://bstore1.example.com/StopWordList5.xml&quot;]

Test Suite Result:
  empty result

Expected Result:
  &lt;book number=&quot;1&quot;&gt;...&lt;/book&gt;


--I am thinking Book 1 is a not good result because the query for &quot;supports some users of&quot; can only come close to matching &quot;supports the user in&quot;, which it doesn&apos;t match because stemming is off so &quot;users&quot; do not match &quot;user&quot;. What do you see that I don&apos;t see?

Pat</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25803</commentid>
    <comment_count>4</comment_count>
    <who name="Christian Gruen">christian.gruen</who>
    <bug_when>2009-06-29 17:47:20 +0000</bug_when>
    <thetext>Hi Pat,

&gt; I am thinking Book 1 is a not good result because the query for &quot;supports
&gt; some users of&quot; can only come close to matching &quot;supports the user in&quot;,
&gt; which it doesn&apos;t match because stemming is off so &quot;users&quot; do not match
&gt; &quot;user&quot;. What do you see that I don&apos;t see?

maybe the specified input document is supposed to be different for this query? FT-3-examples-source-document.xml contains the following content:

&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;/content&gt;

Thanks,
Christian

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25804</commentid>
    <comment_count>5</comment_count>
    <who name="Pat Case">pcase</who>
    <bug_when>2009-06-29 17:53:27 +0000</bug_when>
    <thetext>Christian you are correct as usual. I will change the result to Book 1 this evening when I have access to CVS. Pat</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25808</commentid>
    <comment_count>6</comment_count>
    <who name="Pat Case">pcase</who>
    <bug_when>2009-06-29 23:36:14 +0000</bug_when>
    <thetext>Christian,

Re: [5] ftstopword-q9.xq

The expected result is now Book 1. Thanks for the heads-up. I also changed it from a Fragment to an XML file, and corrected the link in the catalog.

Pat</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25809</commentid>
    <comment_count>7</comment_count>
    <who name="zhen hua liu">zhen.liu</who>
    <bug_when>2009-06-30 01:26:48 +0000</bug_when>
    <thetext>ACTION FTTF-198-01 Zhen to look at and fix item 1 of bug #7006. ETA: Today.

this is completed.

Added new output file FTExtension-Opt-q4.txt   and modified XQFTSCatalog.xml to add the
new output file.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25880</commentid>
    <comment_count>8</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2009-07-06 18:31:17 +0000</bug_when>
    <thetext>Changes in response to items [3] and [4] have been made as suggested.  Consequently, I am marking this bug RESOLVED FIXED.  If you agree, then please mark it CLOSED. </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>