<?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>5557</bug_id>
          
          <creation_ts>2008-03-10 20:37:38 +0000</creation_ts>
          <short_desc>[FT] full text  query example should consistently use //book elem</short_desc>
          <delta_ts>2008-04-04 14:04:54 +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>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</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>19397</commentid>
    <comment_count>0</comment_count>
    <who name="zhen hua liu">zhen.liu</who>
    <bug_when>2008-03-10 20:37:38 +0000</bug_when>
    <thetext>The following query examples should use //book or /books/book
 if we change the sample XML document fragemnt to include &lt;books&gt; as the top level wrapping element.
(1) In 3.2 Search Tokens &amp; Phrases: All four examples
(2) In 3.3 Match Options: All two examples
(3) In 3.3.1 case option, All two examples
(4) In 3.3.2 diacritics option,All two examples
(5) In 3.3.3 stemming option, one example
(6) in 3.3.5 stop word option, first 2 examples
(7) In 3.3.6 language option, first 1 example
(8) in 3.3.7 wildcard option, all four examples
(9) in 3.4.1 or-selection, one example
(10) in 3.4.2 and-selection, all 2 examples
(11) 3.4.3 mild-not selection, one example
(12) 3.4.4 not-selection, 3 examples
(13) 3.5 .1 ordered selection, 2 examples
(14) 3.5.2 window selection all 4 examples</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19398</commentid>
    <comment_count>1</comment_count>
    <who name="zhen hua liu">zhen.liu</who>
    <bug_when>2008-03-10 20:41:23 +0000</bug_when>
    <thetext>(15) 3.5.3 distance selection all 4 examples
(16) 3.5.4 scope selection first 4 examples
(17) 3.6 cardinality  selection first 3 examples
(18) 3.8 extension selection first 2 examples 
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19468</commentid>
    <comment_count>2</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2008-03-14 01:49:01 +0000</bug_when>
    <thetext>Dang.

We thought (hoped?) that it would all be as simple as wrapping the book element inside of a books document element.  Seems to be wrong, though. 

I think we have to ask ourselves what the better fix is -- to fix all of the examples Zhen has identified that must be fixed if we add the books wrapper, or fixing the examples that are broken if we don&apos;t add that wrapper. 

I am happy whichever solution we choose, as long as the changes are made very, very quickly. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19734</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2008-04-04 09:46:57 +0000</bug_when>
    <thetext>I have made the changes indicated in comment #1 and #2, and so am marking the issue as resolved-fixed. If you agree, please mark it closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>