<?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>29997</bug_id>
          
          <creation_ts>2016-11-10 23:28:25 +0000</creation_ts>
          <short_desc>[QT3TS] many fn-transform tests could work in XPath?</short_desc>
          <delta_ts>2017-04-07 22:16:51 +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>XQuery 3 &amp; XPath 3 Test Suite</component>
          <version>Working drafts</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="Michael Dyck">jmdyck</reporter>
          <assigned_to name="O&apos;Neil Delpratt">oneil</assigned_to>
          <cc>mike</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>128141</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2016-11-10 23:28:25 +0000</bug_when>
    <thetext>(Follow-up to Bug 29993)

In fn/transform.xml, many test-cases are marked
    &lt;dependency type=&quot;spec&quot; value=&quot;XQ31+&quot;/&gt;
which excludes them from consideration by XPath processors.

Formerly, this was necessary because their test-queries used XQuery-specific syntax.

However, after changes to the file from Michael Kay and myself (under bug 29993), almost all of their test-queries are now syntactically valid XPath expressions. Is there any other reason to retain the exclusion?

Specifically, ...

For these, the test-query is syntactically valid XPath:
    fn-transform-6
    fn-transform-7
    fn-transform-9
    fn-transform-10
    fn-transform-11
    fn-transform-12
    fn-transform-13
    fn-transform-13a
    fn-transform-18
    fn-transform-22
    fn-transform-33
    fn-transform-37
    fn-transform-44
    fn-transform-48
    fn-transform-50
    fn-transform-51
    fn-transform-52
    fn-transform-53
    fn-transform-54
    fn-transform-55
    fn-transform-56
    fn-transform-57
    fn-transform-58
    fn-transform-60
    fn-transform-61
    fn-transform-62
    fn-transform-63
    fn-transform-err-2
    fn-transform-err-3
    fn-transform-err-4
    fn-transform-err-5
    fn-transform-err-6
    fn-transform-err-9
    fn-transform-err-9a
    fn-transform-err-15
    fn-transform-err-16
    fn-transform-902

For these, I think the test-query could be easily tweaked to use XPath syntax:
    fn-transform-26
    fn-transform-27
    fn-transform-32
    fn-transform-64

The only two that are not so easy are:
    fn-transform-2
        due to use of &quot;element {...}&quot;

    fn-transform-19
        due to use of &quot;declare base-uri&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128523</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2017-04-07 22:16:51 +0000</bug_when>
    <thetext>I have modified these tests (except -2 and -19) to run under XPath 3.1

Still sorting out some CVS conflicts...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>