commit | 4497e6984dcec890e660f6ee1d4585ace7fa5e3b | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Sat Jun 09 14:19:02 2001 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Sat Jun 09 14:19:02 2001 +0000 |
tree | 2842ff493f4c2a7dc5e3c948cc5608422cefde59 | |
parent | f3afa7dd4e8daacfa62f7345b7d7071e0cb33423 [diff] [blame] |
- xinclude.c: Raphael Hertzog had a trouble with DTD nodes being processed, applied his patch - tree.c: fixed a bug raised in xmlStaticCopyNodeList() Daniel
diff --git a/tree.c b/tree.c index 0f10673..5027fcf 100644 --- a/tree.c +++ b/tree.c
@@ -2750,6 +2750,10 @@ while (node != NULL) { if( node->type == XML_DTD_NODE ) { + if (doc == NULL) { + node = node->next; + continue; + } if (doc->intSubset == NULL) { q = (xmlNodePtr) xmlCopyDtd( (xmlDtdPtr) node ); q->doc = doc;