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 2297 - Desired semantics of FTTimes (formerly Cluster G, Issue 61)
Summary: Desired semantics of FTTimes (formerly Cluster G, Issue 61)
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Full Text 1.0 (show other bugs)
Version: Working drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Chavdar Botev
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-25 19:09 UTC by Jim Melton
Modified: 2006-02-20 19:20 UTC (History)
0 users

See Also:


Attachments

Description Jim Melton 2005-09-25 19:09:22 UTC
Consider the document

cat cat

and the query

("cat" && "cat") occurrences exactly 4

Currently, it returns true. Is this the desired semantics for FTTimes? If yes,
how do we explain it in the language document?

Significant progress was made on this issue at the face-to-face meeting of the
Full-Text Task Force in September, 2005.
Comment 1 Jochen Doerre 2005-11-07 15:59:40 UTC
Decided in Sept05 F2F (Boeblingen) to restrict FTTimes to be applicable only to
words and phrases.
Comment 2 Jochen Doerre 2005-11-07 16:00:38 UTC
Decided in Sept05 F2F (Boeblingen) to restrict FTTimes to be applicable only to
words and phrases.
Comment 3 Chavdar Botev 2006-02-20 14:37:44 UTC
I made the following changes:

* Changed the schema of the FTTimes schema type to accept only FTWords as a
nested  selection.

* Changed the NL description of the function to match the arguments.

* Explicitly stated the requirement that the nested FTSelection is an FTWords.

* Added a check in the semantics if the AllMatches contains stringExclude; if
yes, XPST0003 is raised.


I don't think any other changes to the semantics are needed. I don't think it
can be further simplified, as the FTWords can be complex (e.g. all, any).