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

Commit 4e3ce5c

Browse files
committed
Revert "catalog: Fetch XML catalog before dumping"
This reverts commit 723b4de.
1 parent b93d4e7 commit 4e3ce5c

1 file changed

Lines changed: 3 additions & 18 deletions

File tree

catalog.c

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@
5959
#define XML_SGML_DEFAULT_CATALOG "file://" SYSCONFDIR "/sgml/catalog"
6060
#endif
6161

62+
static xmlChar *xmlCatalogNormalizePublic(const xmlChar *pubID);
63+
static int xmlExpandCatalog(xmlCatalogPtr catal, const char *filename);
64+
6265
/************************************************************************
6366
* *
6467
* Types, all private *
@@ -173,21 +176,6 @@ static xmlRMutexPtr xmlCatalogMutex = NULL;
173176
*/
174177
static int xmlCatalogInitialized = 0;
175178

176-
/************************************************************************
177-
* *
178-
* Forward declarations *
179-
* *
180-
************************************************************************/
181-
182-
static xmlChar *
183-
xmlCatalogNormalizePublic(const xmlChar *pubID);
184-
185-
static int
186-
xmlExpandCatalog(xmlCatalogPtr catal, const char *filename);
187-
188-
static int
189-
xmlFetchXMLCatalogFile(xmlCatalogEntryPtr catal);
190-
191179
/************************************************************************
192180
* *
193181
* Catalog error handlers *
@@ -538,9 +526,6 @@ static void xmlDumpXMLCatalogNode(xmlCatalogEntryPtr catal, xmlNodePtr catalog,
538526
case XML_CATA_BROKEN_CATALOG:
539527
case XML_CATA_CATALOG:
540528
if (cur == catal) {
541-
if (cur->children == NULL) {
542-
xmlFetchXMLCatalogFile(cur);
543-
}
544529
cur = cur->children;
545530
continue;
546531
}

0 commit comments

Comments
 (0)