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

The issues that need to fix while upgrade XSL to work with JDK 1.6 and Xalan 2.7.1


No comments:

Post a Comment