1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-04 08:02:34 +03:00

catalog: Deprecate some functions

This commit is contained in:
Nick Wellnhofer
2025-05-03 01:31:09 +02:00
parent 306b8bf28d
commit a449c5fde3
3 changed files with 8 additions and 0 deletions

View File

@ -854,6 +854,8 @@ xmlCatalogUnWrapURN(const xmlChar *urn) {
/** /**
* @param filename the filename * @param filename the filename
* *
* @deprecated Use XML_PARSE_NO_SYS_CATALOG.
*
* parse an XML file and build a tree. It's like xmlParseFile() * parse an XML file and build a tree. It's like xmlParseFile()
* except it bypass all catalog lookups. * except it bypass all catalog lookups.
* *

View File

@ -134,6 +134,7 @@ XMLPUBFUN int
const xmlChar *replace); const xmlChar *replace);
XMLPUBFUN int XMLPUBFUN int
xmlCatalogRemove (const xmlChar *value); xmlCatalogRemove (const xmlChar *value);
XML_DEPRECATED
XMLPUBFUN xmlDocPtr XMLPUBFUN xmlDocPtr
xmlParseCatalogFile (const char *filename); xmlParseCatalogFile (const char *filename);
XMLPUBFUN int XMLPUBFUN int
@ -170,8 +171,10 @@ XMLPUBFUN xmlCatalogAllow
/* DEPRECATED interfaces */ /* DEPRECATED interfaces */
XML_DEPRECATED
XMLPUBFUN const xmlChar * XMLPUBFUN const xmlChar *
xmlCatalogGetSystem (const xmlChar *sysID); xmlCatalogGetSystem (const xmlChar *sysID);
XML_DEPRECATED
XMLPUBFUN const xmlChar * XMLPUBFUN const xmlChar *
xmlCatalogGetPublic (const xmlChar *pubID); xmlCatalogGetPublic (const xmlChar *pubID);

View File

@ -598,6 +598,8 @@ deprecated_funcs = {
'htmlParseElement': True, 'htmlParseElement': True,
'xmlAddEncodingAlias': True, 'xmlAddEncodingAlias': True,
'xmlByteConsumed': True, 'xmlByteConsumed': True,
'xmlCatalogGetPublic': True,
'xmlCatalogGetSystem': True,
'xmlCheckFilename': True, 'xmlCheckFilename': True,
'xmlCheckLanguageID': True, 'xmlCheckLanguageID': True,
'xmlCleanupCharEncodingHandlers': True, 'xmlCleanupCharEncodingHandlers': True,
@ -630,6 +632,7 @@ deprecated_funcs = {
'xmlParseAttValue': True, 'xmlParseAttValue': True,
'xmlParseAttributeListDecl': True, 'xmlParseAttributeListDecl': True,
'xmlParseCDSect': True, 'xmlParseCDSect': True,
'xmlParseCatalogFile': True,
'xmlParseCharData': True, 'xmlParseCharData': True,
'xmlParseCharRef': True, 'xmlParseCharRef': True,
'xmlParseComment': True, 'xmlParseComment': True,