I'm a developer new to SVG. I'm using Adobe SVG Viewer and Batik Squiggle 1.7 beta to view my code. Even though Batik supposedly supports Javascript now, every time I load an SVG with embedded Javascript--which runs fine in ASV--I get a security error:
>Scripts of type (text/javascript) cannot be loaded and executed with >the current security settings. Here are the details: >java.lang.SecurityException: Scripts of type (text/javascript) cannot be loaded and executed with the current security settings. > at >org.apache.batik.swing.svg.AbstractJSVGComponent$BridgeUserAgentWrapp er.checkLoadScript(Unknown Source) > at >org.apache.batik.bridge.BaseScriptingEnvironment.checkCompatibleScrip tURL(Unknown Source) > at >org.apache.batik.bridge.BaseScriptingEnvironment.loadScripts(Unknown Source) > at org.apache.batik.bridge.UpdateManager.dispatchSVGLoadEvent (Unknown Source) > at org.apache.batik.bridge.UpdateManager.dispatchSVGLoadEvent (Unknown Source) > at org.apache.batik.swing.svg.SVGLoadEventDispatcher.run (Unknown Source) This happens even with the security settings disabled in Edit--> Preferences. When I edit the code to remove the type="text/javascript" attribute, or edit it to type="text/ecmascript" the code either throws another error or it doesn't work at all. Worse, when I try to look up this problem on the Apache Batik web site, or on this forum, no one else seems to have this difficulty. Could you tell me if anyone else has had this problem, and what, if anything, can be done? Thank you. Tony G. Harris ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

