<?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>29993</bug_id>
          
          <creation_ts>2016-11-09 19:07:22 +0000</creation_ts>
          <short_desc>[QT3TS] syntax errors in some fn-transform test queries</short_desc>
          <delta_ts>2016-11-10 19:27:07 +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>128127</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2016-11-09 19:07:22 +0000</bug_when>
    <thetext>In fn/transform.xml, some of the tests that are marked as okay for XP31
have non-XP31 syntax in the test-query.

Specifically:

(1)
The tests
    fn-transform-3
    fn-transform-3a
    fn-transform-4
    fn-transform-5
    fn-transform-31
each has
   let $foo := expr1
   let $bar := expr2
   return expr3

This needs a &quot;return&quot; after expr1,
or else a comma and delete the second &quot;let&quot;.


(2)
fn-transform-15 has a node constructor


(3)
The tests
    fn-transform-65
    fn-transform-66
    fn-transform-67
    fn-transform-68
    fn-transform-69
    fn-transform-70
    fn-transform-71
    fn-transform-72
    fn-transform-73
    fn-transform-74
    fn-transform-75
    fn-transform-76
    fn-transform-77
    fn-transform-78
each has
    declare variable $foo as xs:string := &quot;....&quot;;
which I&apos;m guessing should be
    let $foo := &quot;...&quot; return</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128128</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-11-09 20:12:59 +0000</bug_when>
    <thetext>Now fixed. There were some others as well, e.g. use of backtick syntax for string templates.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128129</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2016-11-09 23:08:01 +0000</bug_when>
    <thetext>No, there are still a lot of syntax errors, mostly due to semicolons and StringConstructors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128130</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-11-10 08:52:11 +0000</bug_when>
    <thetext>OK, I&apos;ve had another go at making these tests run under XPath.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128139</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2016-11-10 19:27:07 +0000</bug_when>
    <thetext>The second pass fixed all the ones I complained about originally, but it left a bunch (that I didn&apos;t complain about) that got broken in the first pass. I&apos;ve committed fixes for those -- please check them over.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>