On 2012-Feb-01, 18:01, Pietro Cerutti wrote: > Hi, > > I have a segfault running the sample program here: > http://people.freebsd.org/~gahr/xmlErrorHandler.c > > It seems that setting up both xmlTextReaderSetStructuredErrorHandler and > xmlSetStructuredErrorFunc confuses the code around error.c:592 and > following, but I'm having a hard time tracking down the logics there.. > > I'm not sure if this is somehow related to this other post: > http://mail.gnome.org/archives/xml/2009-August/msg00020.html >
I have a patch at http://people.freebsd.org/~gahr/error.c.diff . It works with any combinations of using xmlSetStructuredErrorFunc, xmlTextReaderSetStructuredErrorHandler, both, or none. Feedback welcome, -- Pietro Cerutti g...@gahr.ch PGP Public Key: http://gahr.ch/pgp
pgpIKvYjbjcsl.pgp
Description: PGP signature
_______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml