Closed Bug 296185 Opened 20 years ago Closed 16 years ago

Local SVG files being displayed as XML

Categories

(Firefox :: File Handling, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: post, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/412 (KHTML, like Gecko) Safari/412
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050531 Firefox/1.0+

Opening local SVG (either pure or embedded in HTML) files results in them being displayed as XML.

Reproducible: Always

Steps to Reproduce:
1. Open local SVG file

Actual Results:  
The SVG was displayed as XML

Expected Results:  
Rendered it as SVG
This is happening to me under Windows XP as well.

User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2)
Gecko/20050531 Firefox/1.0+
what configuration arguments are listed in your about:buildconfig page?  look
for --enable-svg at the bottom of the page.

while svg.enabled can be set to true on the nightly builds, it will only have an
effect on your browser if your copy was built with --enable-svg as a configure
option.

i suspect that you don't have fully svg-enabled builds.
Works ok for me in 1.5 beta2 in WinXP
I have the same problem with Firefox 1.5RC1

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5

svg.enabled is set on "true"
and it open correctly an SVG document on http links

Dam
please insure that you are closing the svg file with whatever is creating it.

 I saw a similar problem when creating svg output from gnuplot before I realised that the file needed to be explicitly closed by the program which was anticipating other possible output to the file.

Once closed the file was correctly formatted and displayed as svg an not xml.

Is this still reproducible with any supported version of Firefox? If not, please resolve this bug “WORKSFORME”. Thanks.

See also bug 443413.
Whiteboard: closeme 2008-11-04
@Reporter, we have not heard back from you in a while, so I am closing this bug. You can reopen this bug if more information becomes available. Some helpful information you can provide us is found at http://new.quality.mozilla.org/bug-writing-guidelines.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Whiteboard: closeme 2008-11-04
You need to log in before you can comment on or make changes to this bug.