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:
parent
ec6633afae
commit
b47ebf047e
@ -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,
|
||||
|
4
parser.c
4
parser.c
@ -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
|
||||
|
@ -358,6 +358,8 @@ deprecated_funcs = {
|
||||
'xmlSchemaCleanupTypes': True,
|
||||
'xmlSchemaInitTypes': True,
|
||||
'xmlSetupParserForBuffer': True,
|
||||
'xmlStringDecodeEntities': True,
|
||||
'xmlStringLenDecodeEntities': True,
|
||||
'xmlThrDefDefaultBufferSize': True,
|
||||
'xmlThrDefLineNumbersDefaultValue': True,
|
||||
'xmlThrDefPedanticParserDefaultValue': True,
|
||||
|
Loading…
x
Reference in New Issue
Block a user