Andrew M wrote:
Silly question maybe, but is there any performance benefit using saxon 8 (XSLT2) over XSLTC?My answer is not from personal experience but is based on research I did into various XSLT processors. The most recent report I could find is at http://www.sarvega.com/all_benchmarks.php. The report was published in 2003, but the versions of the products they benchmark are fairly old.
Xalan, which is the reference implementation and the default processor for Cocoon, is the slowest. XSLTC, which is part of the Xalan project, is faster than Xalan but I believe it has some issues. I tried to use it in a BEA Weblogic Portal environment and was unsuccessful (the jars it required conflicted with jars in the BEA Portal). Some things that work in Xalan may fail in XSLTC and vice versa.
In the benchmark, Saxon is reportedly quite a bit faster than either Xalan but slower than XSLTC. I do not know if that is true with newer versions, as I recall hearing that Saxon improved quite a bit after version 6.5. Several folks have indicated they have gotten it running with Cocoon and have reported no problems with it. Saxon-SA 8.1.1 is a commercial product with a license that is incompatible with the Apache 2.0 license. Saxon-B 8.1.1 is open source and is shipped under the Mozilla Public License Version 1.0.
Other processors are available. You can download XSLTMark at http://www.datapower.com/xmldev/xsltmark.html or Sarvega's benchmark tool and benchmark them yourself.
Ralph
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
