[xsl] Re: The Perils of Sudden Type-Safety in XSLT 2.0

Subject: [xsl] Re: The Perils of Sudden Type-Safety in XSLT 2.0
From: michael.h.kay@xxxxxxxxxxxx
Date: Tue, 25 Feb 2003 18:43:24 +0000
>>The test case is

    <xsl:template match="block[@indent]">
      <xsl:value-of select="string-pad(' ', @indent)"/>
    </xsl:template>

As I thought I had pointed out, the fact that this doesn't work in Saxon 7.4 is a bug (in the working draft). If @indent is an untyped attribute node, it should be automatically cast to the required type.

So if this is the only test case you can cite, then we're doing well...

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread