diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-08-22 23:44:09 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-08-22 23:44:09 +0000 |
commit | e7ead2d2379fa933b064e4a138a267313d40988e (patch) | |
tree | 269c2c833822b2acbf2307bbc2a810b0f6ca0d27 /catalog.c | |
parent | dc2cee29d094958139f409e30209f68953c9cb67 (diff) | |
download | android_external_libxml2-e7ead2d2379fa933b064e4a138a267313d40988e.tar.gz android_external_libxml2-e7ead2d2379fa933b064e4a138a267313d40988e.tar.bz2 android_external_libxml2-e7ead2d2379fa933b064e4a138a267313d40988e.zip |
added documentation about Catalog support, misses an API description
* doc/catalog.html doc/xml.html: added documentation about
Catalog support, misses an API description
* doc/html/*: reextracted the API pages
Daniel
Diffstat (limited to 'catalog.c')
-rw-r--r-- | catalog.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2182,6 +2182,13 @@ int xmlCatalogAdd(const xmlChar *type, const xmlChar *orig, const xmlChar *replace) { int res = -1; + if ((xmlDefaultXMLCatalogList == NULL) && + (xmlStrEqual(type, BAD_CAST "catalog"))) { + xmlDefaultXMLCatalogList = xmlNewCatalogEntry(XML_CATA_CATALOG, NULL, + orig, xmlCatalogDefaultPrefer); + return(0); + } + if (!xmlCatalogInitialized) xmlInitializeCatalog(); |