I have some files created by hand and some generated by batik that crash on loading. From what I can tell the crash is caused because my files don't have xmlns="http://www.w3.org/2000/svg" in the svg tag. The files cause no trouble with the adobe plugin. Requiring the namespace declaration is great. Inkscape should reject improperly formed files with out crashing right?
Aaron Spike
On Fri, 4 Feb 2005, Aaron and Sarah Spike wrote:
I have some files created by hand and some generated by batik that crash on loading. From what I can tell the crash is caused because my files don't have xmlns="http://www.w3.org/2000/svg" in the svg tag. The files cause no trouble with the adobe plugin. Requiring the namespace declaration is great. Inkscape should reject improperly formed files with out crashing right?
Yes, submit a bug report on this, and attach some example files for testing against.
Thanks, Bryce
On Fri, Feb 04, 2005 at 04:31:27PM -0800, Bryce Harrington wrote:
On Fri, 4 Feb 2005, Aaron and Sarah Spike wrote:
I have some files created by hand and some generated by batik that crash on loading. From what I can tell the crash is caused because my files don't have xmlns="http://www.w3.org/2000/svg" in the svg tag. The files cause no trouble with the adobe plugin. Requiring the namespace declaration is great. Inkscape should reject improperly formed files with out crashing right?
Yes, submit a bug report on this, and attach some example files for testing against.
This bug is already in the tracker, and is currently fixed in CVS, actually. (This is the bug we're waiting for a "go" from mental on.)
Kees Cook wrote:
This bug is already in the tracker, and is currently fixed in CVS, actually. (This is the bug we're waiting for a "go" from mental on.)
Great. I'll wait and try it with tomorrow's autopackage. I was getting a bunch of funny messages on the console. I'll bet that is the "assert" that got commented out. Now I know what an "assert" is. Makes sense.
Thanks Aaron Spike
On Fri, 2005-02-04 at 19:21, Aaron and Sarah Spike wrote:
I have some files created by hand and some generated by batik that crash on loading. From what I can tell the crash is caused because my files don't have xmlns="http://www.w3.org/2000/svg" in the svg tag. The files cause no trouble with the adobe plugin. Requiring the namespace declaration is great. Inkscape should reject improperly formed files with out crashing right?
Actually, an SVG file without the SVG namespace declard is valid, provided that there aren't any other namespaces involved either and that it otherwise meets the minimum requirements for the Namespaces in XML specification (e.g. no unbound prefixes, etc...).
-mental
participants (5)
-
Aaron and Sarah Spike
-
Aaron Spike
-
Bryce Harrington
-
Kees Cook
-
MenTaLguY