Closed Bug 319287 Opened 19 years ago Closed 19 years ago

SVG is not displayed

Categories

(Core :: SVG, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: marcinkk, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8) Gecko/20051111 Firefox/1.5

Firefox 1.5 can display SVG file, but can't display it when is embedded. Info about needed plugin is displayed. SVG alone is displayed correctly.

PS. Works with Adobe SVG 3.03 a Adobe 6 beta ... with known problems (crash with 3.03 on exit).

PPS. http://www.adobe.com/svg/viewer/install/svgtest.html doesn't works alone nor with plugin :(

Reproducible: Always

Steps to Reproduce:
1. Just open the site http://www.ise.pw.edu.pl/~szabatin/index.html with Firefox.
2. Try to open: http://www.ise.pw.edu.pl/~szabatin/godlo3.svg - included SVG.
Actual Results:  
svg image is not displayed

Expected Results:  
svg image should be visible
This should be filed as CORE->SVG but in any case is not valid.

The svg file is being served with a MIME type of image/svg-xml rather than image/svg+xml.

Duplicate of bug 136666 or 256742 perhaps?

Assignee: nobody → general
Component: File Handling → SVG
Product: Firefox → Core
QA Contact: file.handling → ian
Version: unspecified → 1.8 Branch
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
(In reply to comment #1)
> This should be filed as CORE->SVG but in any case is not valid.
>
> The svg file is being served with a MIME type of image/svg-xml rather than
> image/svg+xml.
> 

Adobe SVG plugin recognizes svg-xml and svg+xml. Firefox recognizes image/svg-xml, but when author uses image/svg+xml it says that "plug-in is needed". Maybe it is authors mistake, but I think firefox should use internal svg decoder ...

Marcin

PS. When I try to open: http://www.adobe.com/svg/viewer/install/svgtest.html firefox says: 

"B³±d parsowania XML: nieprawid³owo sformowany
Obszar: http://www.adobe.com/svg/svgfiles/svgtest.svgz
Numer linii 1, kolumna 1:
�
^"
with Adobe Plugin or without it ... Mozilla 1.7.12 displays test correctly with plugin.
(In reply to comment #2)
> Maybe it is authors mistake, but I think firefox should use internal
> svg decoder ...

That's not going to happen because, as well as breaking the standards, it raises security issues.
My Firefox 1.5 on WinXP SP2 also fails:
http://www.adobe.com/svg/viewer/install/svgtest.html

ZABA
The SVG on adobe.com is bad. It's served with the wrong headers, doesn't have namespace declarations etc.
You need to log in before you can comment on or make changes to this bug.