blob: 21216ebf11ba583fe33a7564de1bb1c00d5f6fa2 [file] [log] [blame]
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- FileName: NUMBERFORMATerr15 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 12.3 -->
<!-- Creator: David Marston -->
<!-- Purpose: Set one-character attribute digit too large in decimal-format. -->
<!-- ExpectedException: An XSLT attribute of type T_CHAR must be only 1 character -->
<!-- ExpectedException: Illegal value: toobig used for CHAR attribute: digit. An attribute of type CHAR must be only 1 character! -->
<xsl:decimal-format digit="toobig" />
<xsl:template match="doc">
<out>
<xsl:value-of select="format-number('32.1','toobig0.00')"/>
</out>
</xsl:template>
</xsl:stylesheet>