<?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>2767</bug_id>
          
          <creation_ts>2006-01-25 01:29:12 +0000</creation_ts>
          <short_desc>&quot;phrase&quot; option definition (FTWords)</short_desc>
          <delta_ts>2006-08-16 17:56:09 +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>All</rep_platform>
          <op_sys>Windows XP</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="Joaquin Delgado">joaquin.delgado</reporter>
          <assigned_to name="Sihem Amer-Yahia">sihem</assigned_to>
          
          
          <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>7963</commentid>
    <comment_count>0</comment_count>
    <who name="Joaquin Delgado">joaquin.delgado</who>
    <bug_when>2006-01-25 01:29:13 +0000</bug_when>
    <thetext>In section 3.1.2 (FTWords) the following defines the &quot;phrase&quot; option:

&quot;If the &quot;phrase&quot; option is specified, the sequence of words and phrases is 
used to create a single phrase by concatenating the words and phrases and 
interleaving whitespace. A match occurs, if and only if the resulting phrase 
is matched in the searched text.&quot;

According to the definition of word in the specs where we state that &quot;Note 
that consecutive words *need not be separated by either punctuation or space*, 
and words may overlap&quot; so it seams unreasonable to force interleaving of 
whitespace. Similarly a phrase was defined as: &quot;... a sequence of ordered 
words&quot;, the rest being implementation dependent.

Thus it should be sufficient to restate more clearly that:

&quot;If the &quot;phrase&quot; option is specified, all words and phrases are used to create 
a sequence of ordered words representing a new phrase. A match occurs, if and 
only if the resulting phrase is matched in the searched text.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7972</commentid>
    <comment_count>1</comment_count>
    <who name="Pat Case">pcase</who>
    <bug_when>2006-01-25 16:06:28 +0000</bug_when>
    <thetext>Good catch. I support adding this rewording to the document.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8049</commentid>
    <comment_count>2</comment_count>
    <who name="Sihem Amer-Yahia">sihem</who>
    <bug_when>2006-01-30 18:37:45 +0000</bug_when>
    <thetext>Replaced

&quot;If the &quot;phrase&quot; option is specified, the sequence of words and phrases is 
used to create a single phrase by concatenating the words and phrases and 
interleaving whitespace. A match occurs, if and only if the resulting phrase 
is matched in the searched text.&quot;

with

&quot;If the &quot;phrase&quot; option is specified, all words and phrases are used to create 
a sequence of ordered words representing a new phrase. A match occurs, if and 
only if the resulting phrase is matched in the searched text.&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>