Update element-available test to reflect the expected value (that the element is *not* available) keywords
authorabraaksm
Sun, 27 Jul 2014 19:33:20 +0200
branchkeywords
changeset 526 f025b3630be7
parent 525 640352b74b43
child 527 133449f5df75
Update element-available test to reflect the expected value (that the element is *not* available)
tests/decl/function/function-0302.out
tests/decl/function/function-0302.xsl
--- a/tests/decl/function/function-0302.out	Sun Jul 27 19:32:03 2014 +0200
+++ b/tests/decl/function/function-0302.out	Sun Jul 27 19:33:20 2014 +0200
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?><out>;
 	<a1>1. true should be true</a1>;
-	<a1>2. false should be true</a1>;
-	<a1>3. false should be true</a1>;
+	<a1>2. false should be false</a1>;
+	<a1>3. false should be false</a1>;
 	<a1>4. false should be false</a1>;
 	<a1>5. false should be false</a1>;
 	<a1>6. false should be false</a1>;
--- a/tests/decl/function/function-0302.xsl	Sun Jul 27 19:32:03 2014 +0200
+++ b/tests/decl/function/function-0302.xsl	Sun Jul 27 19:33:20 2014 +0200
@@ -17,8 +17,8 @@
     <xsl:param name="xsl">xsl:</xsl:param>
 	<out>;
 	<a1>1. <xsl:value-of select="element-available('xsl:value-of')"/> should be true</a1>;
-	<a1>2. <xsl:value-of select="element-available('saxon:assign')"/> should be true</a1>;
-	<a1>3. <xsl:value-of select="element-available('sql:connect')"/> should be true</a1>;
+	<a1>2. <xsl:value-of select="element-available('saxon:assign')"/> should be false</a1>;
+	<a1>3. <xsl:value-of select="element-available('sql:connect')"/> should be false</a1>;
 	<a1>4. <xsl:value-of select="element-available('xsl:key')"/> should be false</a1>;
 	<a1>5. <xsl:value-of select="element-available('xsl:neverHeardOfIt')"/> should be false</a1>;
 	<a1>6. <xsl:value-of select="element-available('saxon:collation')"/> should be false</a1>;