On 14/02/2008, Colin Paul Adams
<colin(_at_)colina(_dot_)demon(_dot_)co(_dot_)uk> wrote:
Why 10 rather than 1, or 271000000.0057683456127458945386235?
Well....
<xsl:template match="/" priority="271000000.0057683456127458945386235">
a
</xsl:template>
<xsl:template match="/" priority="271000000.0057683456127458945386234">
b
</xsl:template>
fails with a java.lang.ArrayIndexOutOfBoundsException: -2 error with Saxon.
Interestingly
<xsl:template match="/" priority="271000.00576834564">
a
</xsl:template>
<xsl:template match="/" priority="271000.00576834560">
b
</xsl:template>
works but only if the last digit is 4 and not 1 in the first template
I'm sure there's something else I should be getting on with......
:0)
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--