Wednesday, November 30, 2011

Difference between xalan XSLT processor and SUN / ORACLE XSLTC compiler

According to [1], SUN's JDK 1.5 contains only XSLTC , and it does not provide have all of the features of the Xalan interpretive processor. 


It is said that the main difference is in the extension support and the XSLTC does not support the following extensions:
  • Dynamic EXSLT extensions
  • NodeInfo extension functions
  • JavaScript extensions
  • SQL library extension etc...
And also it (SUN/oracle JDK) does not support all of the XSLT type to Java type conversions.

I asked this issue in the xalan-dev mailing list and according to it

"IBM's JDK 6 (ships with some of IBM's products, though I believe it's not available separately) uses an interpreter derived from Xalan-J, and a compiler which is new code.

Sun's JDK 6, still uses a very outdated and relatively buggy copy of Xalan-J for both interpretive and compiled modes.
 "



The Apache Xalan project http://xalan.apache.org/index.html

The issues that need to fix while upgrade XSL to work with JDK 1.6 and Xalan 2.7.1  http://muhammadkhojaye.blogspot.com/2010/03/xslt-processing-with-jdk-16-and-xalan.html


[1] http://marc.info/?l=xalan-j-users&m=117795540217233

No comments:

Post a Comment

Using Zotero for academic writing