1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-02 20:42:30 +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
*
* @deprecated Use XML_PARSE_NO_SYS_CATALOG.
*
* parse an XML file and build a tree. It's like xmlParseFile()
* except it bypass all catalog lookups.
*

View File

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

View File

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