reklis/SVGKit — pull request #13 by adamgit (2012-02-23 16:29:23+00:00)
Title: Parse from URL + GREATLY improved error-handling for parser errors

Identical to "parse from file path", this adds "parse from URL"

Also, until now SVGKit has completely ignored parser errors, except to return BOOL FALSE when they fail. I've replaced that with code that parses the error from SAX, puts it into a Cocoa NSError object, hands it part-way back up the chain, and outputs it to the console using NSLog.

(in a future commit, I want to add an explicit "error:" parameter to each of the core utility methods, so that applications are forced to handle the error or ignore it - right now, apps have no way of accessing the error, let alone logging it)