Re: [xml] release of libxml2-2.6.0beta3

On Fri, Sep 26, 2003 at 10:01:50AM -0600, Vakoc, Mark wrote:
  - what kind of error API people really want
I think once I have a clear answer on all three, it will just be a
of a bit of coding to get 2.6.0 out for good.

How about support for logging levels, such as log4j and it's derivatives
have?  Something like an enum of log level debug,info,warning, error,
fatal for each message? 

  Okay, why not, global or per-thread <grin/> ?

Also the other think I would like to see
changed is times where the logging API is called many times for the same
message b/c it is printing a few characters at a time?  An example that
comes to mind is bad XPath expressions, which end up looking like this
in my log:

11/11/03 8:30:01.0123 Invalid XPath Expression
11/11/03 8:30:01.0123 /
11/11/03 8:30:01.0123 s
11/11/03 8:30:01.0123 o
11/11/03 8:30:01.0123 m
11/11/03 8:30:01.0123 e

That is to require that whatever message that goes to the callbacks is
complete in itself and doesn't rely on newlines to determine the end of
one error and the start of another.

  Hum, if you can get me a list of the places where this happen I can 
probably get them fixed, yes.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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