Hi. I want to use libxml2 to build a tree from existing SAX2 events. I create a parser context with
// Since we will not do any SAX parsing, we give neither // handler nor context. fctx->parser = xmlCreatePushParserCtxt(NULL, NULL, NULL, 0, NULL); but get a segfault when calling xmlSAX2StartDocument(fctx->parser); What am I doing wrong? What else should I do to properly initialize the parser context? Sincerely, Joachim _______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml