<?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>9934</bug_id>
          
          <creation_ts>2010-06-16 00:11:28 +0000</creation_ts>
          <short_desc>[FT] Need static error for unsupported FTMatchOptions combinations</short_desc>
          <delta_ts>2010-12-29 17:02:25 +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>Candidate Recommendation</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</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="Paul J. Lucas">paul</reporter>
          <assigned_to name="Jim Melton">jim.melton</assigned_to>
          <cc>holstege</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>36205</commentid>
    <comment_count>0</comment_count>
    <who name="Paul J. Lucas">paul</who>
    <bug_when>2010-06-16 00:11:28 +0000</bug_when>
    <thetext>If an implementation does not support a particular combination of FTMatchOptions in a single query, it should raise a static error.  However, the specification does not currently provide such an error.

For example, given a query like:

    $x contains text &quot;.*volv.*&quot;
    using stemming
    using wildcards

it&apos;s not clear what that means, what a correct answer would be, or even how to implement it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36639</commentid>
    <comment_count>1</comment_count>
    <who name="Mary Holstege">holstege</who>
    <bug_when>2010-07-06 18:20:18 +0000</bug_when>
    <thetext>The WG discussed this bug at the 2010-07-06 telcon.

We believe that the current specification gives implementations sufficient latitude to handle such cases without error and we do not wish to give implementations license to throw an error in such as case, as it imposes an undue burden on users in constructing error-free queries. It is quite likely, for example, that stemming could be a global option, which would create the same conflict.  

Stemming, tokenization, and matching are already all implementation dependent, so the implementation can choose to define the effect in such cases in a suitable manner. While it is unlikely that stemming will perform any meaningful operation on a wildcarded token (just as it will not for a numeric token, for example) in the query, stemming can still be applied meaningfully to the document content and it is possible that the wildcarded token could be matched in a stem-aware fashion. 

In summary, we are closing this bug with no further action.  If you are satisfied with this resolution, please close the bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>