Subject: RE: Efficiency: predicate vs function
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Thu, 09 Aug 2007 21:11:41 +0100
|
IIRC this is fixed in Saxon 8.9.0.4. Saxon 8.9 was calling a method that's
only present in JDK 1.5, and running the compiler in 1.4 mode didn't spot
the fact.
There's a saxon-help list and forum on SourceForge, which provide a better
place for product-specific issues.
Michael Kay
http://www.saxonica.com/
> -----Original Message-----
> From: iwanttokeepanon [mailto:iwanttokeepanon@xxxxxxxxx]
> Sent: 09 August 2007 19:16
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: Efficiency: predicate vs function
>
> > [1] http://andrewjwelch.com/code/xslt/sudoku/sudoku-solver.html
>
> I tried running this in:
> Saxon 8.9J from Saxonica
> java version "1.4.2-03"
> (build Blackdown-1.4.2-03, mixed mode)
>
> and I get:
> Exception in thread "main" java.lang.NoSuchMethodError:
> java.math.BigDecimal.<init>(J)V
> at
> net.sf.saxon.value.Int64Value.getDecimalValue(Int64Value.java:311)
> at
> net.sf.saxon.expr.Calculator$DecimalTimesDecimal.compute(Calcu
> lator.java:635)
> at
> net.sf.saxon.expr.ArithmeticExpression.evaluateItem(Arithmetic
> Expression.java:237)
> .....
>
> How can it fail on BigDecimal? The stack trace is quite long
> and I don't want to post it all unless it will help.
>
> Any ideas?
>
> --
> Rodman
|