xsl-list
[Top] [All Lists]

Re: [xsl] Extracting text between nodes

2008-02-15 05:01:22
On 15/02/2008, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:
<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.
 >


Can't reproduce this. I get an "ambiguous rule match", which is because
 Saxon is handling the values internally as doubles, and as doubles these two
 values are equal.

Sorry my bug... (a problem with the syntax highlighting in Kernow - now fixed)



-- 
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>