After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 307870 - Empty namespace triggers crash in SAX2
Empty namespace triggers crash in SAX2
Status: VERIFIED FIXED
Product: libxml2
Classification: Platform
Component: general
2.6.19
Other All
: High critical
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-16 03:26 UTC by Michael Day
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Day 2005-06-16 03:26:17 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.
Comment 1 Daniel Veillard 2005-07-05 14:04:56 UTC
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
Comment 2 Daniel Veillard 2005-09-05 08:59:00 UTC
This should be closed by release of libxml2-2.6.21,

  thanks,

Daniel