diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2004-10-26 16:06:51 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2004-10-26 16:06:51 +0000 |
commit | 03a53c34db279cbe4a305d58969beb1f26ff3d19 (patch) | |
tree | 332a090013d8a51a14562322dccfd656044e667c /relaxng.c | |
parent | 1227fb3cea5a2eb1e0d3789687ebf0377cb60322 (diff) | |
download | libxml2-03a53c34db279cbe4a305d58969beb1f26ff3d19.tar.gz |
added checking for names values and dictionnaries generates a tons of
* debugXML.c include/libxml/xmlerror.h: added checking for names
values and dictionnaries generates a tons of errors
* SAX2.ccatalog.c parser.c relaxng.c tree.c xinclude.c xmlwriter.c
include/libxml/tree.h: fixing the errors in the regression tests
Daniel
Diffstat (limited to 'relaxng.c')
-rw-r--r-- | relaxng.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7024,7 +7024,8 @@ xmlRelaxNGCleanupTree(xmlRelaxNGParserCtxtPtr ctxt, xmlNodePtr root) } else { xmlNodePtr node; - node = xmlNewNode(cur->ns, BAD_CAST "name"); + node = xmlNewDocNode(cur->doc, cur->ns, + BAD_CAST "name", NULL); if (node != NULL) { xmlAddPrevSibling(cur->children, node); text = xmlNewText(name); |