Re: [xml] Resetting ctxt->errNo

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

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 Veillard      | libxml Gnome XML XSLT toolkit
daniel veillard com  | Rpmfind RPM search engine | virtualization library

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