RE: [xml] Re: XML libs (was Re: gconf backend)
- From: "Stephane Bidoul" <stephane bidoul softwareag com>
- To: <veillard redhat com>
- Cc: <xml gnome org>
- Subject: RE: [xml] Re: XML libs (was Re: gconf backend)
- Date: Sun, 28 Sep 2003 21:25:25 +0200
Daniel Veillard wrote:
Should a "last error" code and information pertaining to the parser
(and thread context) be kept. I think one person suggested
this this week,
would this make a better API ? This doesn't prevent getting
multiple error
callbacks, but would offer asynchronous handling that some
people seems
to prefer.
Actually it's really not the fact that callback are
synchronous that bothers me.
For instance, assume we have library A that uses libxml2,
and library B that uses libxml2 too.
Both need to catch global error messages, but they don't
know about each other. They can't both register their own
global xmlGenericError at the same time, right?
The last error mechanism is only a proposal to work
around this without requiring far reaching changes to
the APIs.
-sbi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]