<?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>5879</bug_id>
          
          <creation_ts>2008-07-18 16:23:18 +0000</creation_ts>
          <short_desc>[FT] query in extension selection of xquery full text doc  is NOT correct</short_desc>
          <delta_ts>2008-08-26 18:30:48 +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>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="zhen hua liu">zhen.liu</reporter>
          <assigned_to name="Jim Melton">jim.melton</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>21240</commentid>
    <comment_count>0</comment_count>
    <who name="zhen hua liu">zhen.liu</who>
    <bug_when>2008-07-18 16:23:18 +0000</bug_when>
    <thetext>The following two queries in http://www.w3.org/TR/xpath-full-text-10/#id-extension-selections are NOT correct and have syntax errors.
Q1:
declare namespace exq = &quot;http://example.org/XQueryImplementation&quot;;
/books/book[.//p ftcontains (# exq:distance #) { &quot;web site&quot;
ftand &quot;usability&quot; distance at most 1 words] } 
Q2:
declare namespace exq = &quot;http://example.org/XQueryImplementation&quot;;
//city[. ftcontains (# exq:classifier with class &apos;Animals&apos; #) 
       {&quot;animal&quot; with thesaurus at &quot;http://example.org/thesaurus.xml&quot; 
        relationship &quot;RT&quot;}

It should be revised below with syntax problem corrected.
Q1:
declare namespace exq = &quot;http://example.org/XQueryImplementation&quot;;
/books/book[.//p ftcontains (# exq:distance #) { &quot;web site&quot;
ftand &quot;usability&quot; distance at most 1 words }]

Q2:
declare namespace exq = &quot;http://example.org/XQueryImplementation&quot;;

//city[. ftcontains (# exq:classifier with class &apos;Animals&apos; #) 
       {&quot;animal&quot; with thesaurus at &quot;http://example.org/thesaurus.xml&quot; 
        relationship &quot;RT&quot;} ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21658</commentid>
    <comment_count>1</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2008-08-26 18:30:17 +0000</bug_when>
    <thetext>The Full-Text Task Force has discussed the problem and determined that the
solution provided with the bug report is correct. Those changes have been made to the internal draft of the FT spec.  We are therefore marking this bug FIXED. 

Because you were present when the decision was made, we presume that you are
satisfied and are also marking the bug CLOSED. 
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>