Re: [xml] out of memory condition with no exceptions option



On Tue, Sep 16, 2008 at 10:00:19AM -0700, Prashanth R wrote:
hi , I have libxml2 configured with th e --without-fexceptions option.

I am using the XMLParseChunk API call.

if for some reason , there isnt sufficient memory and parsing fails, what
will be the behaviour ?

Will it gracefully exit ,returning an error code or will it crash throwing
an exception  ?

  We try to fail gracefully, but it's hard to have a completely
  systematic testing

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]