<?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>13133</bug_id>
          
          <creation_ts>2011-07-04 18:39:36 +0000</creation_ts>
          <short_desc>Tests that do not specify results for XQuery 3.0</short_desc>
          <delta_ts>2016-04-12 13:54:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Query Test Suite</product>
          <component>XML Query Test Suite</component>
          <version>1.0.3</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</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="Sorin Nasoi">spungi</reporter>
          <assigned_to name="Benjamin Nguyen">benjie.nguyen</assigned_to>
          <cc>mike</cc>
    
    <cc>oneil</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>50646</commentid>
    <comment_count>0</comment_count>
    <who name="Sorin Nasoi">spungi</who>
    <bug_when>2011-07-04 18:39:36 +0000</bug_when>
    <thetext>There are a bunch of tests that have as expected result an error not marked as being valid *only* for XQuery 1.0.
Also these tests do not state the behavior for XQuery 3.0.

1) K2-FunctionCallExpr-6:
- add  spec-version=&quot;1.0&quot; for the XPST0017
- add XPTY0004 as alternate result because xs:string can not be treated as xs:anyNode like the F&amp;O spec expects:
http://www.w3.org/TR/2011/WD-xpath-functions-30-20110614/#func-generate-id

2)K2-FunctionCallExpr-7
- add  spec-version=&quot;1.0&quot; for the XPST0017
- add  result for XQuery 3.0

3)K-DataFunc-1
- add  spec-version=&quot;1.0&quot; for the XPST0017
- add  result for XQuery 3.0

4)K2-DataFunc-1
- add  spec-version=&quot;1.0&quot; for the XPST0017
- add  result for XQuery 3.0

5)K-DocumentURIFunc-2
- add  spec-version=&quot;1.0&quot; for the XPST0017
- add  result for XQuery 3.0

6)K-NodeNameFunc-1
- add  spec-version=&quot;1.0&quot; for the XPST0017
- add  result for XQuery 3.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50901</commentid>
    <comment_count>1</comment_count>
    <who name="Sorin Nasoi">spungi</who>
    <bug_when>2011-07-11 13:39:05 +0000</bug_when>
    <thetext>The same is true for test K-DocumentURIFunc-2:

Here is what&apos;s stated in cat/DocumentURIFunc.xml 

&lt;test-case is-XPath2=&quot;true&quot; Creator=&quot;Frans Englich&quot; name=&quot;K-DocumentURIFunc-2&quot; FilePath=&quot;Functions/AccessorFunc/DocumentURIFunc/&quot; scenario=&quot;runtime-error&quot;&gt;
      &lt;description&gt;A test whose essence is: `document-uri()`.&lt;/description&gt;
      &lt;query name=&quot;K-DocumentURIFunc-2&quot; date=&quot;2007-11-26+01:00&quot;/&gt;
      &lt;input-file role=&quot;principal-data&quot; variable=&quot;input-context&quot;&gt;emptydoc&lt;/input-file&gt;
      &lt;expected-error&gt;XPST0017&lt;/expected-error&gt;
   &lt;/test-case&gt;


And here is the F&amp;O Spec 3.0:
http://www.w3.org/TR/xpath-functions-30/#func-document-uri</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50906</commentid>
    <comment_count>2</comment_count>
    <who name="Sorin Nasoi">spungi</who>
    <bug_when>2011-07-11 14:12:14 +0000</bug_when>
    <thetext>Same applies for test
http://dev.w3.org/cvsweb/~checkout~/2006/xquery-test-suite/TestSuiteStagingArea/Queries/XQuery/Expressions/Construct/ComputeCon/ComputeConComment/Constr-compcomment-dash-4.xq
and
http://dev.w3.org/cvsweb/~checkout~/2006/xquery-test-suite/TestSuiteStagingArea/Queries/XQuery/Expressions/Construct/ComputeCon/ComputeConComment/Constr-compcomment-doubledash-4.xq

That do not have an alternate result stated for XQuery 3.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89695</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-06-21 13:54:54 +0000</bug_when>
    <thetext>I have reviewed these tests and in each case there is an existing test in QT3 that adequately tests the equivalent construct in XQuery 3.0. For example K2-FunctionCallExpr-6 tests what happens when a non-node is supplied to generate-id(); for XQuery 3.0 this is tested by generate-id-903. No changes needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89697</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-06-21 14:17:56 +0000</bug_when>
    <thetext>Sorry the previous comment should have been against bug 22333 (the QT3 equivalent bug)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125825</commentid>
    <comment_count>5</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2016-04-12 13:54:08 +0000</bug_when>
    <thetext>I am closing this bug issue as it has been transferred to the QT3 test suite bug list: See bug #22333.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>