Re: eclipse launch xsl transformation with extension functions

Stanimir Stamenkov <[email protected]> Mon, 10 May 2010 21:09:40 +0300
Newsgroups gmane.text.xml.xalan.java.user
Message-ID <[email protected]>
Mon, 10 May 2010 14:17:41 +0300, /Adrian Herscu/:

> Seems that there is something wrong with Xalan distributed with Sun's JRE.
> I tried to use the ExpressionContext interface in my extension functions
> and it is not available.

If you look into the jre/lib/rt.jar you will notice there are no 
org.apache.* packages in there.  The fork shipped with the Sun's JRE 
has its packages renamed to com.sun.org.apache.* so it doesn't clash 
with the actual Xalan library, when plugged in.  So there's no 
really a org.apache.xalan.extensions.ExpressionContext class in the 
JRE bundle.  If you plan on using Xalan APIs you should plug the 
Xalan library explicitly in use.  What's already in the JRE is meant 
just as default JAXP implementation.

-- 
Stanimir