mirror of
https://github.com/GNOME/libxml2.git
synced 2025-03-31 19:10:28 +08:00
fixing bug #59946 on xmlns="" Daniel
* SAX.c: fixing bug #59946 on xmlns="" Daniel
This commit is contained in:
parent
7a51d6df13
commit
143b04fb73
@ -1,3 +1,7 @@
|
||||
Mon Sep 10 20:13:09 CEST 2001 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* SAX.c: fixing bug #59946 on xmlns=""
|
||||
|
||||
Mon Sep 10 16:39:42 CEST 2001 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* include/libxml/xmlerror.h SAX.c: fixing bug 59732, simple
|
||||
|
8
SAX.c
8
SAX.c
@ -1134,7 +1134,13 @@ startElement(void *ctx, const xmlChar *fullname, const xmlChar **atts)
|
||||
ctxt->sax->warning(ctxt->userData,
|
||||
"Namespace prefix %s is not defined\n", prefix);
|
||||
}
|
||||
xmlSetNs(ret, ns);
|
||||
|
||||
/*
|
||||
* set the namespace node, making sure that if the default namspace
|
||||
* is unbound on a parent we simply kee it NULL
|
||||
*/
|
||||
if ((ns != NULL) && (ns->href[0] != 0))
|
||||
xmlSetNs(ret, ns);
|
||||
|
||||
/*
|
||||
* process all the other attributes
|
||||
|
Loading…
x
Reference in New Issue
Block a user