xsl-list
[Top] [All Lists]

RE: [xsl] Efficiency: predicate vs function

2007-08-09 13:12:51

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(_at_)gmail(_dot_)com] 
Sent: 09 August 2007 19:16
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] 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

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



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