Correct expected test results
authorMichael Kay <mike@saxonica.com>
Tue, 15 Aug 2017 15:34:04 +0100
changeset 1741 03afa9383c55
parent 1740 fcd75b06c812
child 1742 b6acc0e5e3af
Correct expected test results
tests/strm/si-fork/_si-fork-test-set.xml
tests/strm/si-fork/si-fork-808.xsl
--- a/tests/strm/si-fork/_si-fork-test-set.xml	Tue Aug 15 15:32:25 2017 +0100
+++ b/tests/strm/si-fork/_si-fork-test-set.xml	Tue Aug 15 15:34:04 2017 +0100
@@ -596,7 +596,11 @@
          <stylesheet file="si-fork-806.xsl"/>
       </test>
       <result>
-         <assert-xml><![CDATA[<Root><Brand><Vehicle>Car</Vehicle></Brand><Brand><Vehicle>Truck</Vehicle></Brand><Brand><Vehicle>Motorcycle</Vehicle></Brand></Root>]]></assert-xml>
+         <all-of>
+            <assert>/out/p[1] = 'Milano, Italia, 5.26'</assert>
+            <assert>/out/p[2] = 'Padova, Italia, 0.81'</assert>
+            <assert>/out/p[3] = 'Paris, France, 7.4'</assert>
+         </all-of>
       </result>
    </test-case>
    
@@ -610,7 +614,11 @@
          <stylesheet file="si-fork-807.xsl"/>
       </test>
       <result>
-         <assert-xml><![CDATA[<Root><Brand><Vehicle>Car</Vehicle></Brand><Brand><Vehicle>Truck</Vehicle></Brand><Brand><Vehicle>Motorcycle</Vehicle></Brand></Root>]]></assert-xml>
+         <all-of>
+            <assert>/out/p[1] = 'Milano, Italia, 5.23, 5.29'</assert>
+            <assert>/out/p[2] = 'Padova, Italia, 0.69, 0.93'</assert>
+            <assert>/out/p[3] = 'Paris, France, 7.2, 7.6'</assert>
+         </all-of>
       </result>
    </test-case>
    
--- a/tests/strm/si-fork/si-fork-808.xsl	Tue Aug 15 15:32:25 2017 +0100
+++ b/tests/strm/si-fork/si-fork-808.xsl	Tue Aug 15 15:34:04 2017 +0100
@@ -12,8 +12,6 @@
     
     <xsl:mode name="num" _streamable="{$STREAMABLE}"/>
     
-    <xsl:output indent="yes"/>
-    
     <xsl:function name="mf:nest" as="node()*" 
         _streamability="{if ($STREAMABLE) then 'absorbing' else 'unclassified'}">
         <xsl:param name="input" as="node()*"/>