Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

Commit 208a4d0

Browse files
committed
xmlcatalog: Improved fix for #699
1 parent 4e3ce5c commit 208a4d0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

xmlcatalog.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,13 @@ int main(int argc, char **argv) {
401401
if ((ret < 0) && (create)) {
402402
xmlCatalogAdd(BAD_CAST "catalog", BAD_CAST argv[i], NULL);
403403
}
404+
405+
/*
406+
* Catalogs are loaded lazily. Make sure that dumping works
407+
* by the issuing a dummy request that forces the catalog to
408+
* be loaded.
409+
*/
410+
xmlCatalogResolvePublic(BAD_CAST "");
404411
}
405412
break;
406413
}

0 commit comments

Comments
 (0)