<?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>3785</bug_id>
          
          <creation_ts>2006-10-02 19:43:59 +0000</creation_ts>
          <short_desc>[FT] About the grammar of XQuery Full-Text</short_desc>
          <delta_ts>2006-11-17 14:48:14 +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>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 2000</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="Pat Case">pcase</reporter>
          <assigned_to name="Pat Case">pcase</assigned_to>
          <cc>lemaitre</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>12240</commentid>
    <comment_count>0</comment_count>
    <who name="Pat Case">pcase</who>
    <bug_when>2006-10-02 19:43:59 +0000</bug_when>
    <thetext>Pat Case is posting this bug received on the public mailing list from Jacques Le Maitre and has submitted a proposal to the internal FTTF mailing list recommending changes to fix this bug to the FT document at:
http://lists.w3.org/Archives/Member/member-query-fttf/2006Aug/0061.html

From Jacques Le Maitre:

Hello,

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

FTWordsSelection ::= (FTWords FTTimes?) | (&quot;(&quot; FTSelection &quot;)&quot;)

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 :

&quot;FTTimes finds matches in which an FTSelection occurs a specified number of
times.&quot;

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

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

where the FTTimes operator is applied to the FTSelection :

&quot;usability&quot; || &quot;testing&quot;


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/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12739</commentid>
    <comment_count>1</comment_count>
    <who name="Jochen Doerre">doerre</who>
    <bug_when>2006-11-01 01:07:33 +0000</bug_when>
    <thetext>The grammar rule deliberately restricts the FTTimes operator to be only applicable to FTWords. We had introduced this restriction, because of complications in the semantics when we wouldn&apos;t have this restriction. Section 3.1.10 is wrong and will be fixed in the next version. The 2nd example can simply be rewritten as follows:
/book[@number=&quot;1&quot; and title ftcontains {&quot;usability&quot;, 
&quot;testing&quot;} any occurs at most 3 times] </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12906</commentid>
    <comment_count>2</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2006-11-10 00:43:37 +0000</bug_when>
    <thetext>If the original author of the bug is satisfied with the resolution indicated in http://www.w3.org/Bugs/Public/show_bug.cgi?id=3785#c1, he is requested to please mark this bug as CLOSED.  If no action has been taken on this bug before 2006-11-15, we will assume that the author is satisfied and will mark the bug CLOSED. </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>