>> 4. I understand that Rhino ships with JDK 6 as the default JavaScript >> execution engine for javax.Script . Is it possible to use the Rhino >> that ships with JDK instead of js.jar that ships with Batik.
> Perhaps! I’ve never tried. You would need to write your own > org.apache.batik.script.Interpreter{,Factory} implementations and > register them using the Service Provider Interface. I guess they would > look pretty much the same as the ones in org.apache.batik.script.rhino > but using the JDK class names (which I can’t remember off the top of my > head – something like javax.script.rhino). Yes, it certainly is possible - I have done it. I wanted to reduce the JAR size for use of Batik in an applet and was successful at this by eliminating the need for a separate Rhino JAR. -JCT --------------------------------------------------------------------- To unsubscribe, e-mail: batik-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org