tests/misc/error-code/error-code-197.xsl
changeset 895 c964d5bbd00e
parent 894 0fc26a1f66f4
child 896 b99b90a57a1c
--- a/tests/misc/error-code/error-code-197.xsl	Mon Mar 30 18:49:39 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0"?> 
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
-
-<!-- Test use of key() in a key use expression (XSLT 2.0) with circular definitions -->
-<?spec xslt#errors?><?error XPDE0640?>
-
-  <xsl:key name="k1" match="a" use="key('k2',@code)"/>
-  <xsl:key name="k2" match="a" use="key('k1',@code)"/>
-  <xsl:param name="p" select="'2'"/>
-
-  <xsl:template match="/">
-    <out total-one="{sum(key('k1', '2')/@value)}" total-two="{sum(key('k2', '1')/@value)}"/>
-  </xsl:template>
-   
-</xsl:stylesheet>