I've created a test case that's just like the Ant Wiki code, except
I've specified net.sf.saxon.TransformerFactoryImpl in the <factory>
element. But when I do that, I always get
java.lang.ClassNotFoundException. I can work around it by explicitly
putting Saxon's JAR in the -lib command-line parameter, or in my
CLASSPATH environment variable, but then that defeats the whole point
of a factory override.

I always used the -lib approach myself, and can't easily test this
nowdays, sorry. It's quite possible there's a classloader issue that
prevents the Saxon factory to be loaded properly from a jar specified
in the <xslt>'s nested <classpath>. Just check the obvious, like the
spelling of the factory class name, the classpath, etc..., just in
case. Good luck, --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to