Subject: Re: Extracting text between nodes
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Fri, 15 Feb 2008 12:00:39 +0000
|
On 15/02/2008, Michael Kay <mike@xxxxxxxxxxxx> 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/
|