Hello Christophe,

Did you try to run your applet with applet viewer and see what trace you get. I suspect you are running into security exceptions when running under the applet's security manager.

Regards,
Vincent.

Christophe Halna wrote:
Hello Thomas,

I would agree if it was an application, but i'm supposed to run an applet,
so I may even not have a classpath

I added the classpath, just for testing... same result : unknown language
text/ecmascript

and the <scripts> works fine when I view the .svg file in an application.

js.jar is just listed in the "archive" attribute of the <applet>
should I specify other parameters for the applet ?

Thank you for trying to help.


-----Message d'origine-----
De : Thomas E Deweese [mailto:thomas.deweese@;kodak.com]
Envoye : mercredi 23 octobre 2002 19:08
A : Batik Users
Objet : RE: script - unknown language text/ecmascript



"CH" == Christophe Halna <[EMAIL PROTECTED]> writes:

CH> Hello, Im trying to view an .svg file containing script with an
CH> applet using JSVGCanvas

CH> the <script> in the svg file causes the error :

CH> java.lang.Exception: Unknown language: text/ecmascript at
CH> org.apache.batik.bridge.BaseScriptingEnvironment.dispatchSVGLoadEvent
CH> (Unknown Source)....

    You are problable not including xml-batik/lib/js.jar in your class
path.  This is the EcmaScript/JavaScript engine.

CH> Here are the files (very simple), if someone can have a look and
CH> tell me what is wrong or what I should try, I would apreciate.


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



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




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

Reply via email to