This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6197 - [FT] TestSuite - AnyAllOption
Summary: [FT] TestSuite - AnyAllOption
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Full Text 1.0 (show other bugs)
Version: Candidate Recommendation
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Jim Melton
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL: http://basex.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-31 07:47 UTC by Christian Gruen
Modified: 2008-11-12 20:37 UTC (History)
0 users

See Also:


Attachments

Description Christian Gruen 2008-10-31 07:47:57 UTC
Hi,

an extra post for the query "FTPrimary-FTWords-q2b.xq". The where clause..

  where $p ftcontains "FTAnyAllOption literal" any 

..uses the option "any" which is also used as default, so it should equal the following clause..

  where $p ftcontains "FTAnyAllOption literal"


If I got it right, "FTAnyAllOption literal" is treated as a phrase - and this phrase does not occur in the document, so I would expect 0 hits for this query.

Thanks,

Christian, BaseX Team 
http://www.basex.org
Comment 1 Jim Melton 2008-11-11 00:24:45 UTC
Christian, many thanks for reporting this problem.  Once I read it, I realized that I had misinterpreted something in the spec.  This led me to completely restructure the various FTPrimary-FTWords-* set of tests (for which I am 60% done...I hope to do the remaining 40% tomorrow). 
Comment 2 Jim Melton 2008-11-11 00:26:19 UTC
Because I've recognized the problem and fixed the specific bug you reports, I'm making this bug FIXED.  If you are agreeable, please mark it CLOSED.  Feel free, of course, to check the new FTPrimary-FTWords-* tests that I've checked in to confirm that I've actually fixed the problem. 
Comment 3 Christian Gruen 2008-11-12 20:37:22 UTC
Dear Jim,

thank you for the exhaustive rewritings. I have closed this bug and added another entry with general XQFTTS issues.

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