xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron McCormack <...@mcc.id.au>
Subject Re: IE8 doesn't do SVG, now is good timing for Batik to fix that in a more general way
Date Wed, 26 Mar 2008 23:03:44 GMT
Hi Bruce.

> I have done some a little searching and would like to try the following
> approach.
> look at  http://ww2.cs.fsu.edu/~steele/XHTML/appletObject.html this example 
> for the first step.  Lets see if we can create an  and have an applet
> process it in IE.  The parameter is simply an external SVG file.  A test
> case is posted  http://www.lrcwe-data.com/tmp/ie_plugin.html here .  In this
> example IE renders a different SVG file than all other browsers.  What if an
> applet were created that references the functions in Batik that renders the
> svg file in the manner given in the first example?

That would certainly be possible.  There is an example of using Batik in
an applet at http://xmlgraphics.apache.org/batik/demo.html.  You could
use conditional comments to let a normal SVG (via <img>, <embed>,
<object> or whatever) render in capable UAs, and use an <applet> in IE.

One disadvantage of the <applet> approach, though, is that because of
cross-domain rules, it cannot load resources from other domains.

At one point I wondered whether a plugin or extension could be written
for IE that would replace references to SVG in <object>, etc. with a
corresponding <applet> element.  I was able to do this with the Netscape
plugin API (NPAPI), but since I didn’t know ActiveX/COM stuff, I didn’t
know how to target IE.


> I did a quick check of harmony and I suggest we do not go down that route
> for now.  I had difficulty compiling it and it broke all my existing Java
> sites.  For wide deployment I think we need to stick with the existing JRE
> on windows.


Cameron McCormack, http://mcc.id.au/
	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au

To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org

View raw message