dohhhh XML catalog add and remove ops were broken too. Side effect of the

* catalog.c: dohhhh XML catalog add and remove ops were broken too.
  Side effect of the progressive catalog loading
Daniel
diff --git a/catalog.c b/catalog.c
index 3b6a3e6..e843d89 100644
--- a/catalog.c
+++ b/catalog.c
@@ -1297,6 +1297,9 @@
 	((catal->type != XML_CATA_CATALOG) &&
 	 (catal->type != XML_CATA_BROKEN_CATALOG)))
 	return(-1);
+    if (catal->children == NULL) {
+	xmlFetchXMLCatalogFile(catal);
+    }
     typ = xmlGetXMLCatalogEntryType(type);
     if (typ == XML_CATA_NONE) {
 	if (xmlDebugCatalogs)
@@ -1357,6 +1360,9 @@
 	return(-1);
     if (value == NULL)
 	return(-1);
+    if (catal->children == NULL) {
+	xmlFetchXMLCatalogFile(catal);
+    }
 
     /*
      * Scan the children