Corrections to test and metadata
authorMichael Kay <mike@saxonica.com>
Tue, 15 Aug 2017 15:31:56 +0100
changeset 1739 8ce663f30f4f
parent 1738 c0fc0b95d637
child 1740 fcd75b06c812
Corrections to test and metadata
tests/decl/function/_function-test-set.xml
tests/decl/function/function-5006.xsl
--- a/tests/decl/function/_function-test-set.xml	Tue Aug 15 15:31:17 2017 +0100
+++ b/tests/decl/function/_function-test-set.xml	Tue Aug 15 15:31:56 2017 +0100
@@ -675,6 +675,7 @@
       <environment ref="function-05"/>
       <dependencies>
          <spec value="XSLT20+"/>
+         <feature value="serialization"/>
       </dependencies>
       <test>
          <stylesheet file="function-0501.xsl"/>
@@ -1626,6 +1627,7 @@
       <modified by="Abel Braaksma" on="2016-11-05" change="Changed the test such it is not roaming anymore"/>
       <modified by="Michael Kay" on="2017-01-28" change="See bug 29958"/>
       <modified by="Abel Braaksma" on="2017-03-23" change="Made the test streamable, see bug 30064"/>
+      <modified by="Michael Kay" on="2017-08-15" change="Add xsl:function/@streamability attribute"/>
       <environment ref="function-01s"/>
       <dependencies>
          <spec value="XSLT30+"/>
--- a/tests/decl/function/function-5006.xsl	Tue Aug 15 15:31:17 2017 +0100
+++ b/tests/decl/function/function-5006.xsl	Tue Aug 15 15:31:56 2017 +0100
@@ -16,7 +16,7 @@
         </result>
     </xsl:template>
     
-    <xsl:function name="sf:deep-descent"  as="node()*">
+    <xsl:function name="sf:deep-descent"  as="node()*" streamability="deep-descent">
         <xsl:param name="node" as="node()"/>
         <xsl:for-each select="$node">
             <xsl:sequence select="self::node()//section//p" />