Re: [xml] BIG PATCH: libxml and use of stderr

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Thu Oct 26 2000 - 06:07:29 EDT


On Wed, Oct 25, 2000 at 09:27:21PM +0200, Daniel Veillard wrote:
>
> On Tue, Oct 24, 2000 at 04:01:12PM -0400, Harry Blundell wrote:
> > Daniel,
> >
> > A while back, there was a posting to the list from a guy wanting to
> > prevent libxml from sending errors to stderr. No one answered his
> > question, and now we're faced with the same issue.
>
> Okay I think this was really needed. there was a number of places
> where the library needed some reporting due to an error while being
> outside the context of parsing or validating (where such callbacks
> are already defined).
>
> I patched a virgin 2.2.6 to redirrect all "out of context" error
> messages to a reconfigurable routine. The changes are:

  I made the error of extracting the patch from my W3C CVS base,
as a result appying it to a 2.2.6 ditribution is not simple.
  I instead simply built a new full tarball:
    ftp://xmlsoft.org/test/libxml2-message-2.2.6.tar.gz

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | libxml Gnome XML toolkit
Tel : +33 476 615 257  | 655, avenue de l'Europe | http://xmlsoft.org/
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | Rpmfind search site
 http://www.w3.org/People/all#veillard%40w3.org  | http://rpmfind.net/
----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Oct 26 2000 - 09:43:46 EDT