tests/misc/error-code/error-code-171.xsl
changeset 895 c964d5bbd00e
parent 894 0fc26a1f66f4
child 896 b99b90a57a1c
--- a/tests/misc/error-code/error-code-171.xsl	Mon Mar 30 18:49:39 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
-xmlns:xs="http://www.w3.org/2001/XMLSchema">
-
-<!-- DOCUMENT: http://www.w3.org/TR/xpath -->
-<!-- SECTION: 3.4 Booleans -->
-<!-- PURPOSE: Test of "=" operator with mixed types -->
-<!-- String to number comparison is not allowed except in backwards compatibility mode -->
-<?spec xpath#errors?><?error XPTY0004?>
-
-<xsl:template match="/">
-  <xsl:param name="set1" select="('1.0', '3.0')" as="xs:string*"/>
-  <xsl:variable name="set2" select="(1, '2')"/>
-<out>
-  <xsl:value-of select="$set1 = $set2"/> should be true
-  <xsl:value-of select="$set2 != $set1"/> should be true
-  <xsl:value-of select="$set2 &gt; $set1"/> should be false  
-  <xsl:value-of select="$set2 &lt; $set1"/> should be true    
-</out>
-</xsl:template>
-</xsl:stylesheet>