Hi Tony, Opera is probably the viewer with the most complete SVG support, followed by Batik. The Adobe viewer is much less complete and then followed by Mozilla and Safari. Safari still has a few severe bugs that need to be fixed.
All of them support patterns (Firefox only in version 3) and gradients and have a useful SVG subset to do sophisticated SVG applications. This is not to say that the situation is bright, but its good enough for a lot of applications. Some of the missing features in many viewers are: SVG font support (missing in Mozilla and Safari), SMIL support (missing in Mozilla and Safari) and filters (Mozilla and Safari, a lot of them are implemented in Firefox 3). Andreas --- In [email protected], "Tony" <[EMAIL PROTECTED]> wrote: > > Hi, Andreas: > > I'm mostly using IE7/ASV and Batik Squiggle because in my research > these supposedly had the most complete implementation of SVG 1.0; > they support patterns, gradient fills, animation, etc. Code that > works fine in both Adobe and Batik supposedly "breaks" in > Mozilla/Opera. If I recall correctly, Mozilla uses the CSIRO viewer, > which does not fully support SVG 1.0 specs. > > I'll download them and give them a try anyway, but am I wrong? > > Thanks, > > Tony > > --- In [email protected], "Andreas Neumann" > <neumann@> wrote: > > > > Hi Tony, > > > > does your file work in other browsers like Opera, Firefox, Safari, > > etc? > > > > the Adobe viewer was very forgiving when users used non-standard > > javascript/DOM methods. Other viewers are not. There might be some > > issues when trying to run SVG files specifically designed for the > > Adobe viewer. See http://jwatt.org/svg/authoring/ for some details > on > > potential issues. If you follow these guidelines, your examples > > should work fine with all major SVG viewers. > > > > Regarding Batik: it might be useful to check the nightlies, > available > > from http://people.apache.org/builds/xml-batik/ or checkout the > > sources with svn. The beta is already quite old compared with the > > trunk. > > > > Hope you can fix your problems, > > Andreas > > > > --- In [email protected], "Tony" <tg_harris@> wrote: > > > > > > 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/

