Project

Profile

Help

<xsl:number level="any" d...

Added by Anonymous about 12 years ago

Legacy ID: #11048583 Legacy Poster: Rustam Abdullaev (rustamabd)

Why does this code print "1" under saxon 8.7 and "2" under 9.1.0.8? [code] <xsl:variable name="basecount"> <xsl:variable name="testanycounttmp"></xsl:variable> <xsl:for-each select="$testanycounttmp/x/x"> <xsl:variable name="anycount"> <xsl:number level="any" from="x[@y='z']" /> </xsl:variable> <xsl:value-of select="$anycount" /> </xsl:for-each> </xsl:variable> <xsl:message select="$basecount"/> [/code]


Replies (1)

RE: &lt;xsl:number level=&quot;any&quot; d... - Added by Anonymous about 12 years ago

Legacy ID: #11048695 Legacy Poster: Michael Kay (mhkay)

Without seeing the source document it's hard to say, but my guess would be that somewhere along the line I implemented erratum XT.E30 - see http://www.w3.org/XML/2007/qt-errata/xslt-errata.html#E30

    (1-1/1)

    Please register to reply