diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-11-05 14:21:47 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-11-05 14:21:47 +0000 |
commit | ffe09c94fd1395c6b7b44eba506716d7fb4b39aa (patch) | |
tree | 71c0e1d02e660c5e8dc242f54cb09ce7c2237d0e /catalog.c | |
parent | ad661b9effa896cd55f3589683fda8a7b6bba121 (diff) | |
download | android_external_libxml2-ffe09c94fd1395c6b7b44eba506716d7fb4b39aa.tar.gz android_external_libxml2-ffe09c94fd1395c6b7b44eba506716d7fb4b39aa.tar.bz2 android_external_libxml2-ffe09c94fd1395c6b7b44eba506716d7fb4b39aa.zip |
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
Diffstat (limited to 'catalog.c')
-rw-r--r-- | catalog.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1297,6 +1297,9 @@ xmlAddXMLCatalog(xmlCatalogEntryPtr catal, const xmlChar *type, ((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 @@ xmlDelXMLCatalog(xmlCatalogEntryPtr catal, const xmlChar *value) { return(-1); if (value == NULL) return(-1); + if (catal->children == NULL) { + xmlFetchXMLCatalogFile(catal); + } /* * Scan the children |