Open GoogleCodeExporter opened 9 years ago
Please recheck this. I think demo.html is now working in IE w/ Adobe SVG
Viewer (ASV).
If you follow the directions in the users manual carefully the flash version
will
always come up. I have not tested the inline svg via <script> though.
In a HTML file if you use:
<!--[if IE]>
<object id="testSVG" src="embed1.svg"
classid="image/svg+xml" width="500" height="500">
<![endif]-->
<!--[if !IE]>-->
<object id="testSVG" data="embed1.svg"
type="image/svg+xml" width="500" height="500">
<!--<![endif]-->
</object>
it works because the ASV does not support SVG in an object element (security
issue).
The second method described in the section:
"Dynamically Creating and Removing SVG OBJECTs and SVG Roots"
also works for me. This is the method I used in the attachments in issue 270.
The
<body> is blank except for the onload="init()" The entire display is built via
JS.
I went this way because my application is created from XML via XSLT on the fly
every
time and the first method is almost impossible to create via XSLT.
This is an important bug though. I recoded my application to make sure it
wouldn't
hang if the user had the ASV installed.
Original comment by bruce.ri...@gmail.com
on 11 Sep 2009 at 10:04
Nice; so it sounds like you've found a valid workaround to prevent ASV from
popping up?
Original comment by bradneub...@gmail.com
on 11 Sep 2009 at 11:04
> it works because the ASV does not support SVG in an object element (security
issue).
I did read something about that but I believe it is a mostly a myth: I've been
using
this approach [1] for a while now... Yes, this unveils that IE's object
implementation is basically an embed wrapper, but object allows having fall-back
content, which is pretty important to notify users about missing SVG support.
[1] http://joliclic.free.fr/html/object-tag/en/object-svg.html
Original comment by helder.magalhaes
on 12 Sep 2009 at 7:39
Helder
As usual you are right. You can use the object element - however scripting is
disbled [1].
Back to the topic, I would suggest marking this as WONTFIX. If you install the
viewer you have an option to use the plugin on all pages (yes including a SVGWeb
page). Once you do this, the popup will go away. This is the way most people
will
use ASV anyway. The important thing is the two programs don't seem to collide.
I
have the viewer installed and the flash version will come up when the methods
from
the Users Guide are used. Has anyone found a conflict?
[1] http://www.adobe.com/svg/viewer/install/
Original comment by bruce.ri...@gmail.com
on 16 Sep 2009 at 7:34
> As usual you are right.
A lucky guess... ;-)
> You can use the object element - however scripting is disbled
This is another weird claim. I've been using ASV3/6 in IE-based deployment for a
while (ranging from IE6 to IE8), with SVG scripting in most and even HTML<-->SVG
script communication in some, and everything works as expected.
Sorry if this is going somehow off-topic, but maybe something useful (a test
case,
anyone?) will bubble from the discussion. :-)
Original comment by helder.magalhaes
on 16 Sep 2009 at 10:59
Original issue reported on code.google.com by
grick23@gmail.com
on 31 Jul 2009 at 12:26