1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-31 06:50:06 +03:00

parser: Deprecate xmlString*DecodeEntities

These are internal functions.
This commit is contained in:
Nick Wellnhofer 2022-12-21 00:02:47 +01:00
parent ec6633afae
commit b47ebf047e
3 changed files with 8 additions and 0 deletions

View File

@ -523,6 +523,7 @@ XMLPUBFUN void
*/
#define XML_SUBSTITUTE_BOTH 3
XML_DEPRECATED
XMLPUBFUN xmlChar *
xmlStringDecodeEntities (xmlParserCtxtPtr ctxt,
const xmlChar *str,
@ -530,6 +531,7 @@ XMLPUBFUN xmlChar *
xmlChar end,
xmlChar end2,
xmlChar end3);
XML_DEPRECATED
XMLPUBFUN xmlChar *
xmlStringLenDecodeEntities (xmlParserCtxtPtr ctxt,
const xmlChar *str,

View File

@ -2786,6 +2786,8 @@ int_error:
* @end2: an end marker xmlChar, 0 if none
* @end3: an end marker xmlChar, 0 if none
*
* DEPRECATED: Internal function, don't use.
*
* Takes a entity string content and process to do the adequate substitutions.
*
* [67] Reference ::= EntityRef | CharRef
@ -2814,6 +2816,8 @@ xmlStringLenDecodeEntities(xmlParserCtxtPtr ctxt, const xmlChar *str, int len,
* @end2: an end marker xmlChar, 0 if none
* @end3: an end marker xmlChar, 0 if none
*
* DEPRECATED: Internal function, don't use.
*
* Takes a entity string content and process to do the adequate substitutions.
*
* [67] Reference ::= EntityRef | CharRef

View File

@ -358,6 +358,8 @@ deprecated_funcs = {
'xmlSchemaCleanupTypes': True,
'xmlSchemaInitTypes': True,
'xmlSetupParserForBuffer': True,
'xmlStringDecodeEntities': True,
'xmlStringLenDecodeEntities': True,
'xmlThrDefDefaultBufferSize': True,
'xmlThrDefLineNumbersDefaultValue': True,
'xmlThrDefPedanticParserDefaultValue': True,