Correct map syntax
authorMichael Kay <mike@saxonica.com>
Mon, 30 Mar 2015 12:49:51 +0100
changeset 891 b0d6c9226dcc
parent 890 ed40644d670a
child 894 0fc26a1f66f4
child 908 dd37183a5072
Correct map syntax
tests/insn/evaluate/evaluate-040.xsl
--- a/tests/insn/evaluate/evaluate-040.xsl	Mon Mar 30 12:49:01 2015 +0100
+++ b/tests/insn/evaluate/evaluate-040.xsl	Mon Mar 30 12:49:51 2015 +0100
@@ -26,7 +26,7 @@
           <xsl:evaluate xpath="if (position() mod 7 = 0) then $path1 else $path2"
                         base-uri="{if (position() mod 2 = 0) then 'http://www.w3.org/' else 'http://example.com/'}"
                         schema-aware="{if (position() mod 3 = 0) then ' true ' else 'false'}"
-                        with-params="map{xs:QName('', 'v): position() mod 5}"/>
+                        with-params="map{xs:QName('v'): position() mod 5}"/>
         </xsl:variable>
         <xsl:if test="position() ge 90 and position() lt 100">
             <out><xsl:value-of select="$r"/></out>