Re: [xml] Error handling with the XmlReader API



On Fri, Jan 17, 2003 at 04:03:06PM +0100, Stéphane Bidoul wrote:
but not for parserCtxt where I made 2 callbacks
(one for errors AND validity errors, and one for warnings
AND validity warnings).

  hum I forgot about this,

Agreed for xmlTextReader. For parserCtxt, I propose to
add 2 more callbacks, unless you prefer one callback with
an error level in that case also.

  A single callback sounds to me a better API for Python,
It also unify both kind of parsers which is good.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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