Re: idom2-pas-beta-1 released (dom2 implementation, based on libxml2 for object pascal)
Daniel Veillard <[email protected]> Thu, 4 Apr 2002 02:37:48 -0500
| Newsgroups | gmane.comp.gnome.lib.xml.bindings |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Apr 02, 2002 at 01:58:52PM +0200, Petr Kozelka wrote: > Hello Daniel, > > > Another question: what's the status of error reporting ? when we > initially > > created that list one of the points raised was troubles to bind new error > > message handlers, did people find a way ? Or is there still a need to > > augment libxml API ? > > no, still it seems to be necessary to pre-format error messages in libxml2. Okay > I am too busy atm to work on libxml2 and its pascal translation; however, it > would be nice of you, to add a toggling function that decides if the > messages will be passed as expanded (= formated) or normally, with varargs. > By the way, is there any reason for passing the messages unformated (with > varargs) ? Does the callback function have any chance to use them for any > other purpose than formating ? Maybe changing the api's (in future) to _not_ > use varargs would bring no limitation at all. Because ATM most people simply use fprintf for the callback. I won't change that capability. I prefer to add the toggle API. Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ [email protected] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/