Click to See Complete Forum and Search --> : help with SVG
james19
02-01-2008, 10:37 AM
I was experimenting with SVG and found that it works in IE but not in Firefox even though most people say it works in firefox but not IE??????? It comes up with th following error:
XML Parsing Error: mismatched tag. Expected: </g>.
Location: file:///home/rkhan19/Final%20year%20project/SVG/Copy%20of%20test.svg
Line Number 32, Column 6: </text>
-----^
Does anyone know why this is happening???????
drhowarddrfine
02-01-2008, 01:15 PM
That is an XML error saying there is something wrong with your xml and it's unrelated to SVG. But it is true, IE has no support for SVG so don't bother trying to force it. Firefox and all other modern browsers do have SVG support.
james19
02-03-2008, 03:42 PM
But the problem is that it works on IE but not on firefox which is wierd :confused: .
I dont think ill use SVG because opf the problem with IE. Are their any alternative languages to SVG that anyone can reccomend to make fancy graphics???
konfjuusd
02-03-2008, 05:23 PM
Hello.
If you can see SVG in IE you have a SVG plugin installed. Most likely the Adobe one. The Adobe plugin dont follow the SVG spec to 100% and I belive it also extends the functionality on some parts. Also neither FF or Opera and probably any other browser who claims to support the SVG spec do it all the way but misses some of the functionality.
Unfortunately as you have noticed the use of SVG in the web is not an option due to the IE lack of support. Better choise is to use flash.
There is an Yahoo group called svgdevelopers.
In your first post the answer is that you missed to close a group of objects("<g>")put "</g>" before "</text>" on Line Number 32, Column 6. like this: </g></text>
Robert Wellock
02-05-2008, 01:36 PM
Yes, it will be malformed SVG as Firefox doesn't do a bad job with basic SVG http://www.w3.org/Graphics/SVG/Test/
Mr Initial Man
02-14-2008, 04:12 PM
SVG is XML. Your error is an error with the FILE, not the browser.