Closed Bug 590435 Opened 14 years ago Closed 14 years ago

SVG doesn't render anything from the web but does render something from local filesystem

Categories

(Core :: SVG, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: cyrilapan, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows NT 6.1; rv:2.0b4) Gecko/20100818 Firefox/4.0b4
Build Identifier: Mozilla/5.0 (Windows NT 6.1; rv:2.0b4) Gecko/20100818 Firefox/4.0b4

The above SVG is rather complex because it's using a XSLT transformation and have some animations on the d property of some path elements.

While it's working well on the latest Opera version (10.61), it doesn't render anything through the above URL on Firefox 4b4. But when I copy the filetree under stroke%20order/ to my local filesystem, then I get some rendering and even a (broken) animation by accessing it through file:///C:/tmp/stroke%20order/漢字/筆畫/平筆/豎.svg.

Reproducible: Always

Steps to Reproduce:
1. open the above URL
2. copy at least those 2 files under C:/tmp/ by keeping the directory structure:
- http://towerofbabel.free.fr/stroke%20order/svg.xsl
- http://towerofbabel.free.fr/stroke%20order/漢字/筆畫/平筆/豎.svg
3. you should have this directory structure then:
- C:/tmp/stroke%20order/svg.xsl
- C:/tmp/stroke%20order/漢字/筆畫/平筆/豎.svg
4. open file:///C:/Users/capan/Downloads/svg/stroke%20order/漢字/筆畫/平筆/豎.svg
Actual Results:  
At step 1, we cannot see anything.
At step 4, we can see something rendered (the actual SVG picture with some broken animation)

Expected Results:  
We should see the same rendering in step 1 and step 4.
oops, step 4 should obviously be the following:
4. open file:///C:/tmp/stroke%20order/漢字/筆畫/平筆/豎.svg
Step 1 works fine for me (shows an svg image without the black animation as expected).

Are you running into issues where your character encoding doesn't agree with the server's?  What URIs actually end up requested?  What URIs does the server expect?
Hmm weird, now it's working too for me...
But then I get no rendering with this file (offline and online) although I get something in Opera:
http://towerofbabel.free.fr/stroke%20order/漢字/整字/三.svg

Should I open a separate bug report?
I have no idea, but the DOM for that last page looks totally different in Gecko and Presto. So whatever's going on is more likely an XSLT issue, not an SVG one.
ok, I'll check my XSLT code and may open another bug report for this file.
closing this bug report, but made this one related to XSLT: 590467
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.