xsl-list
[Top] [All Lists]

Re: [xsl] Efficiency: predicate vs function

2007-08-09 11:42:53
On 8/9/07, iwanttokeepanon <iwanttokeepanon(_at_)gmail(_dot_)com> wrote:
[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(Calculator.java:635)
   at 
net.sf.saxon.expr.ArithmeticExpression.evaluateItem(ArithmeticExpression.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?

It's a known bug:

http://sourceforge.net/tracker/index.php?func=detail&aid=1707376&group_id=29872&atid=397617

The fix is to use Saxon 8.9.0.4 (or upgrade to Java 1.5)

-- 
http://andrewjwelch.com

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