[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Efficiency: predicate vs function

Subject: RE: Efficiency: predicate vs function
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Thu, 09 Aug 2007 21:11:41 +0100
RE:  Efficiency: predicate vs function
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.