Change tests to do what was intended
authorMichael Kay <mike@saxonica.com>
Fri, 08 Aug 2014 12:26:07 +0100
changeset 592 8709b14f60a1
parent 591 9e5ff3068934
child 593 a6806b4e4189
child 600 f6047a0547ac
Change tests to do what was intended
tests/strm/si-iterate/si-iterate-134.xsl
tests/strm/si-iterate/si-iterate-135.xsl
--- a/tests/strm/si-iterate/si-iterate-134.xsl	Fri Aug 08 12:25:05 2014 +0100
+++ b/tests/strm/si-iterate/si-iterate-134.xsl	Fri Aug 08 12:26:07 2014 +0100
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:map="http://www.w3.org/2005/xpath-functions/map"
-  exclude-result-prefixes="xs" version="3.0">
+  exclude-result-prefixes="xs map" version="3.0">
   <xsl:template name="main">
     <xsl:stream href="../docs/citygml.xml">
       <elements>
@@ -18,7 +18,7 @@
           </xsl:iterate>
         </xsl:variable>
         <xsl:for-each select="map:keys($histogram)">
-          <e name="{.}" count="$histogram(.)"/>
+          <e name="{.}" count="{$histogram(.)}"/>
         </xsl:for-each>
       </elements>
     </xsl:stream>
--- a/tests/strm/si-iterate/si-iterate-135.xsl	Fri Aug 08 12:25:05 2014 +0100
+++ b/tests/strm/si-iterate/si-iterate-135.xsl	Fri Aug 08 12:26:07 2014 +0100
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:map="http://www.w3.org/2005/xpath-functions/map"
-  exclude-result-prefixes="xs" version="3.0">
+  exclude-result-prefixes="xs map" version="3.0">
   <xsl:template name="main">
     <xsl:stream href="../docs/citygml.xml">
       <elements>
@@ -19,7 +19,7 @@
         </xsl:variable>
         <xsl:for-each select="map:keys($histogram)">
           <xsl:sort select="."/>
-          <e name="{.}" count="$histogram(.)"/>
+          <e name="{.}" count="{$histogram(.)}"/>
         </xsl:for-each>
       </elements>
     </xsl:stream>