mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
xmlcatalog: Improved fix for #699
This commit is contained in:
parent
4e3ce5c009
commit
208a4d026c
@ -401,6 +401,13 @@ int main(int argc, char **argv) {
|
||||
if ((ret < 0) && (create)) {
|
||||
xmlCatalogAdd(BAD_CAST "catalog", BAD_CAST argv[i], NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
* Catalogs are loaded lazily. Make sure that dumping works
|
||||
* by the issuing a dummy request that forces the catalog to
|
||||
* be loaded.
|
||||
*/
|
||||
xmlCatalogResolvePublic(BAD_CAST "");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user