26 Jun
2008
26 Jun
'08
8:29 p.m.
-----Original Message----- From: inkscape-devel-bounces@lists.sourceforge.net [mailto:inkscape-devel-bounces@lists.sourceforge.net] On Behalf Of Bob Jamison Sent: donderdag 26 juni 2008 19:07 To: Marco; Jon A. Cruz Cc: inkscape-devel@lists.sourceforge.net; lib2geom-devel@lists.sourceforge.net; njh Subject: Re: [Inkscape-devel] Crash in 2geom ellipse parsing
In any case, bad data should be handled gracefully, not with a killer assertion.
The general rule is to be forgiving on input, strict on output.
I agree. The reason I have it crash now is to find out where things go wrong. (which is why I have Inkscape output the to-be-parsed path string and then rethrow the exception)
Johan