p2 / Redland-ObjC

Objective-C wrapper for the Redland RDF libraries
Other
20 stars 11 forks source link

Exception raised if librdf issues warning #15

Open kolchose0711 opened 9 years ago

kolchose0711 commented 9 years ago

I stumbled over this when using unbound variables in queries. Librdf issues a warning which is stored as an error in RedlandWorld:handleLogMessage and causes an exception to be thrown in RedlandWorld:handleStoredErrors. One workaround is to store only messages with LIBRDF_LOG_FATAL and maybe LIBRDF_LOG_ERROR as actual errors.