tests/expr/math/math-3308a.xsl
changeset 1198 aacf3d6d8681
equal deleted inserted replaced
1197:d300f98a5bb8 1198:aacf3d6d8681
       
     1 <xsl:stylesheet version="2.0"
       
     2    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
       
     3 >
       
     4 <?spec fo#func-number?>
       
     5 <!-- Bug in 7.8: converting a string of spaces to a number crashes -->
       
     6   <!-- Variant forcing runtime evaluation -->
       
     7   
       
     8   <xsl:param name="p" select="'   '"/>
       
     9 
       
    10 <xsl:template match="/">
       
    11   <out>
       
    12     <xsl:value-of select="number($p)"/>
       
    13   </out>
       
    14 </xsl:template>
       
    15 </xsl:stylesheet>