W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2006

[FT]About the grammar of XQuery Full-Text

From: Jacques Le Maitre <lemaitre@univ-tln.fr>
Date: Tue, 29 Aug 2006 10:08:18 +0200
To: <public-qt-comments@w3.org>
Message-Id: <20060829080821.7FF5D1C00085@mwinf1209.orange.fr>

Hello,

As I understand, the [149] rule of XQuery Full-Text (XQFT Working Draft,
last version):

FTWordsSelection ::= (FTWords FTTimes?) | ("(" FTSelection ")")

say that FTTimes can only be associated with an FTWords and not with any
kind    FTSelection.

Is it deliberate. In this case it is in contradiction with section 3.1.10
where it is said that :

"FTTimes finds matches in which an FTSelection occurs a specified number of
times."

what is confirmed in the 2nd example (of 3.1.10) :

/book[@number="1" and title ftcontains "usability" ||
"testing" occurs at most 3 times] 

where the FTTimes operator is applied to the FTSelection :

"usability" || "testing"


Sincerely yours

Jacques Le Maitre
---
LSIS (UMR CNRS 6168)
Université du Sud Toulon-Var
BP 20132, 83957 La Garde
tel: +33(0)4 94 14 20 06
tel: +33(0)4 91 05 60 17 (LSIS/Marseille)
fax: +33(0)4 94 14 21 68
e-mail: lemaitre@univ-tln.fr
page personnelle: http://lemaitre.univ-tln.fr/ 
Received on Tuesday, 29 August 2006 13:40:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:44 GMT