[Bug 6196] [FT] TestSuite - Syntax

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


Jim Melton <jim.melton@acm.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #6 from Jim Melton <jim.melton@acm.org>  2008-11-11 00:23:13 ---
Christian, this response addresses the remaining items that have not been
addressed already by others. 

[3] xpath-full-text-10.xml & ExpectedResults//*

OLD: FTAnyallOptions
NEW: FTAnyallOption

...this typo also affects the XQFT specification.

>>> You are obviously correct, and the error has been corrected both in the specification and in the test suite result files. 


[4] ExpectedResults/.../FTWords/*

OLD: containment is checked.</p>
NEW: containment is checked. </p>

OLD: FTAnyallOption</nt>produces
NEW: FTAnyallOption</nt> produces

OLD: FTWordsValue</nt>is
NEW: FTWordsValue</nt> is


>>> You are obviously correct, and the error has been corrected both in the specification and in the test suite result files. 


[5] FTPrimary-FTWords-*

OLD: //div2[id="ftwords"]
NEW: //div2[@id="ftwords"]

>>> You are obviously correct, and the error has been corrected both in the specification and in the test suite result files. 


[6] FTPrimary-FTWords-q1b.xq

OLD: $p ftcontains { $input-context }
NEW: $p ftcontains { $search-token }

>>> You are obviously correct, and the error has been corrected both in the specification and in the test suite result files. 

..but indeed a query like the following - which should always yield true -
could be an interesting one:

 doc("doc.xml") ftcontains { doc("doc.xml") }

>>>Undoubtedly true, but I'm not creating such a test at this time. 


[7] FTPrimary-FTWords-q4b.xq

OLD: <paragraphs></paragraphs>
NEW: </paragraphs>

>>>This has been overtaken by events. 

>>>BE AWARE: I have heavily restructured the FTPrimary-FTWordss-* series of tests and their results to better capture all of the various behaviors.  As of the time I'm writing this comment, I'm about 60% done; I still have "all" and "all words" left to do. 


[12] FTSelection-Weight-q1e.xq

...the error code "FTDY0016" is not accepted as a result.

>>>Good catch!


[15] FTSelection-Weight-q3.xq

OLD: Error "FTDY0016"
NEW: Error "XPTY0004"

...according to the specs, FTDY0016 is only thrown for negative numbers here.


>>> You are obviously correct, and the error has been corrected both in the specification and in the test suite result files. 

Thanks again for your very thorough review and your excellent reports. 

I believe that we have now addressed all of the problems that you reported in
this bug except for items [1] and [2]. 


-- 
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 Tuesday, 11 November 2008 00:23:26 UTC