<?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>11950</bug_id>
          
          <creation_ts>2011-02-01 23:49:11 +0000</creation_ts>
          <short_desc>across-queries-results-q2b.xq test unreasonable</short_desc>
          <delta_ts>2011-02-22 19:11:24 +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 Use Cases</component>
          <version>Candidate Recommendation</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</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="Paul J. Lucas">paul</reporter>
          <assigned_to name="Pat Case">pcase</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>44996</commentid>
    <comment_count>0</comment_count>
    <who name="Paul J. Lucas">paul</who>
    <bug_when>2011-02-01 23:49:11 +0000</bug_when>
    <thetext>The aforementioned test (pasted here for convenience):

$input-context/books/book[content/part/introduction contains text &quot;prototypes&quot;]

according to the expected result in the XQFTTS, is supposed to match the text:

    &lt;b&gt;p&lt;/b&gt;rototypes

Section 4.1.1 of the spec says:

Implementations may provide for the means to ignore or side-step certain structural elements when performing tokenization. In the following example, the implementation has decided to ignore the markup for &lt;bold&gt; and prune out the entire subtree headed by &lt;deleted&gt;.

The fact that the test at hand exists means that every XQuery implementation MUST ignore &lt;b&gt; markup (but not its content).  That&apos;s simply unreasonable.

Every XQuery implementation strives to pass 100% of the tests in the W3C test suite.  (It&apos;s a nice marketing statement.)  Such a test makes this impossible without hard-coding special knowledge about &lt;b&gt; markup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45931</commentid>
    <comment_count>1</comment_count>
    <who name="Mary Holstege">holstege</who>
    <bug_when>2011-02-22 19:11:24 +0000</bug_when>
    <thetext>The WG discussed this on the meeting 2011-02-08 and agreed that there are indeed implementations that do not provide the feature tested or cannot provide it in a readily configurable fashion.  We decided to keep the test, however, as it tests an important feature that some implementations may choose to provide. We are further clarifying in the instructions that we do not expect all implementations to execute or report on all sections of the optional area of the test suite.

Please indicate your satisfaction with the resolution of this bug by marking it as CLOSED.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>