- 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;