Re: [xml] Resetting ctxt->errNo



On Tue, Mar 09, 2010 at 10:41:45AM +0000, Rachael Churchill wrote:
Hi

I've noticed that xmlCtxtResetLastError() resets ctxt->lastError but
not ctxt->errNo. What is the recommended way to reset ctxt->errNo,
without calling xmlCtxtReset() and resetting the entire ctxt object?

  ctxt->errNo = XML_ERR_OK;

I just fixed xmlCtxtResetLastError() so it does that !

  thanks for raising the issue,

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]