GNOME Bugzilla – Bug 307870
Empty namespace triggers crash in SAX2
Last modified: 2009-08-15 18:40:50 UTC
Steps to reproduce: 1. Create an XML file containing: xmlns:null="" 2. Set a structured error handler 3. Parse the file using xmlSAXParseFile Stack trace: Other information: The bug is that SAX2.c continues to call directly ctxt->sax->error and ctxt->sax->warning instead of using the global __xmlRaiseError() framework.
I have removed all direct calls to ctxt->sax->error and ctxt->sax->warning from SAX2.c using __xmlRaiseError(). I Suggest you fetch the CVS snapshot available a couple of hours from now and recheck. thanks, Daniel
This should be closed by release of libxml2-2.6.21, thanks, Daniel