adamlytics / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 1 forks source link

Fails to display anything for Illustrator-generated SVG files #567

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

This is using Firefox 4.0 beta on Mac OS X Snow Leopard:

1. put the two attach files at the root of the expanded ZIP file
2. visit 
http://127.0.0.1:8080/Article-experimental.html?svg.render.forceflash=true

What is the expected output? What do you see instead?

Expected = what happens without forcing flash renderer = what remains of the 
SVG file, which is an arrow point somewhere (initially the file was more 
beautiful of course ;->). I see nothing instead. Looks like issue 221.

What version of the product are you using? On what operating system, browser, 
and version of Flash?

OS = Mac OS X 10.6.4
Browser = Firefox 4.0b6
Flash = 10.0.45

Original issue reported on code.google.com by vince.be...@gmail.com on 10 Nov 2010 at 11:53

Attachments:

GoogleCodeExporter commented 9 years ago
Yes, related to issue 221.  If you look at the Error Console in FireFox you see 
an error - "duplicate attribute" on xmlns. This is because svg.js inserts a 
missing svg namespace before expanding the ENTITY definitions.

I tried shifting the "if (addMissing) {...}" block to just after the ENTITY 
expansion and it then works.

Original comment by k...@svgmaker.com on 11 Nov 2010 at 1:59

GoogleCodeExporter commented 9 years ago
It works for me as well, thanks!

Original comment by vince.be...@gmail.com on 11 Nov 2010 at 2:44

GoogleCodeExporter commented 9 years ago

Original comment by bradneub...@gmail.com on 16 Nov 2010 at 7:00

GoogleCodeExporter commented 9 years ago
Fixed in r1264

Original comment by grick23@gmail.com on 29 Nov 2010 at 3:55