tests/strm/si-fork/_si-fork-test-set.xml
changeset 1883 af210ed49409
parent 1868 3deaeb341727
child 1895 3680b393cb31
--- a/tests/strm/si-fork/_si-fork-test-set.xml	Sun Sep 02 23:59:51 2018 +0100
+++ b/tests/strm/si-fork/_si-fork-test-set.xml	Mon Sep 03 00:00:40 2018 +0100
@@ -831,6 +831,28 @@
       </result>
    </test-case>
    
+   <test-case name="si-fork-816">
+      <description>Streaming with xsl:fork and map expressions. See Saxon bug 3888.</description>
+      <created by="Michael Kay after Martin Honnen" on="2018-08-29"/>
+      <environment>
+         <source file="si-fork-816.xml" role="." streaming="true"/>
+      </environment>
+      <dependencies>
+         <spec value="XSLT30+"/>
+         <feature value="streaming"/>
+         <feature value="serialization"/>
+      </dependencies>
+      <test>
+         <stylesheet file="si-fork-816.xsl"/>
+      </test>
+      <result>
+         <all-of>
+            <assert>deep-equal(/CustInvoiceJour/CustInvoiceTrans/LineAmount/number(), (125, 215, 40))</assert>
+            <assert>deep-equal(/CustInvoiceJour/TaxTrans/TaxValue/number(), (21, 21, 15))</assert>
+         </all-of>
+      </result>
+   </test-case>
+   
    <test-case name="si-fork-901">
       <description>Non-streamable xsl:fork - returns streamed nodes</description>
       <keywords>multiple-xsl-sequence-children AxisStep striding XTSE3430 illegally-returning-streamed-nodes</keywords>