mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
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
This commit is contained in:
parent
ad661b9eff
commit
ffe09c94fd
@ -1,3 +1,8 @@
|
||||
Mon Nov 5 15:20:16 CET 2001 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* catalog.c: dohhhh XML catalog add and remove ops were broken too.
|
||||
Side effect of the progressive catalog loading
|
||||
|
||||
Mon Nov 5 12:40:54 CET 2001 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* Makefile.am: confexecdir and confexec_DATA were defined twice
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user