tests/expr/math/math-3309a.xsl
changeset 1198 aacf3d6d8681
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/expr/math/math-3309a.xsl	Mon Jan 11 11:27:29 2016 +0000
@@ -0,0 +1,16 @@
+<xsl:stylesheet version="2.0"
+   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+>
+<?spec fo#func-number?>
+<!-- Test whitespace trimming in string-to-number conversion -->
+  <!-- Variant forcing runtime evaluation -->
+  
+  <xsl:param name="p" select="'  -2  '"/>
+  
+
+<xsl:template match="/">
+  <out>
+    <xsl:value-of select="number($p)"/>
+  </out>
+</xsl:template>
+</xsl:stylesheet>