diff --git a/models/test.xml b/models/test.xml index 8b751e2..4ed507c 100644 --- a/models/test.xml +++ b/models/test.xml @@ -107,7 +107,7 @@ Sample REFRESH node - + @@ -137,6 +137,29 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schema.c b/schema.c index 563b814..beee82b 100644 --- a/schema.c +++ b/schema.c @@ -3517,9 +3517,6 @@ _merge_gnode_nodes (GNode *node1, GNode *node2) for (child1 = node1->children; child1; child1 = child1->next) { - if (!child1->children) - continue; - /* Match child1 to a child of node2. If matched descend down the tree. */ for (child2 = node2->children; child2; child2 = child2->next) {