mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
parser: Deprecate xmlString*DecodeEntities
These are internal functions.
This commit is contained in:
@ -523,6 +523,7 @@ XMLPUBFUN void
|
|||||||
*/
|
*/
|
||||||
#define XML_SUBSTITUTE_BOTH 3
|
#define XML_SUBSTITUTE_BOTH 3
|
||||||
|
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlChar *
|
XMLPUBFUN xmlChar *
|
||||||
xmlStringDecodeEntities (xmlParserCtxtPtr ctxt,
|
xmlStringDecodeEntities (xmlParserCtxtPtr ctxt,
|
||||||
const xmlChar *str,
|
const xmlChar *str,
|
||||||
@ -530,6 +531,7 @@ XMLPUBFUN xmlChar *
|
|||||||
xmlChar end,
|
xmlChar end,
|
||||||
xmlChar end2,
|
xmlChar end2,
|
||||||
xmlChar end3);
|
xmlChar end3);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlChar *
|
XMLPUBFUN xmlChar *
|
||||||
xmlStringLenDecodeEntities (xmlParserCtxtPtr ctxt,
|
xmlStringLenDecodeEntities (xmlParserCtxtPtr ctxt,
|
||||||
const xmlChar *str,
|
const xmlChar *str,
|
||||||
|
4
parser.c
4
parser.c
@ -2786,6 +2786,8 @@ int_error:
|
|||||||
* @end2: an end marker xmlChar, 0 if none
|
* @end2: an end marker xmlChar, 0 if none
|
||||||
* @end3: 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.
|
* Takes a entity string content and process to do the adequate substitutions.
|
||||||
*
|
*
|
||||||
* [67] Reference ::= EntityRef | CharRef
|
* [67] Reference ::= EntityRef | CharRef
|
||||||
@ -2814,6 +2816,8 @@ xmlStringLenDecodeEntities(xmlParserCtxtPtr ctxt, const xmlChar *str, int len,
|
|||||||
* @end2: an end marker xmlChar, 0 if none
|
* @end2: an end marker xmlChar, 0 if none
|
||||||
* @end3: 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.
|
* Takes a entity string content and process to do the adequate substitutions.
|
||||||
*
|
*
|
||||||
* [67] Reference ::= EntityRef | CharRef
|
* [67] Reference ::= EntityRef | CharRef
|
||||||
|
@ -358,6 +358,8 @@ deprecated_funcs = {
|
|||||||
'xmlSchemaCleanupTypes': True,
|
'xmlSchemaCleanupTypes': True,
|
||||||
'xmlSchemaInitTypes': True,
|
'xmlSchemaInitTypes': True,
|
||||||
'xmlSetupParserForBuffer': True,
|
'xmlSetupParserForBuffer': True,
|
||||||
|
'xmlStringDecodeEntities': True,
|
||||||
|
'xmlStringLenDecodeEntities': True,
|
||||||
'xmlThrDefDefaultBufferSize': True,
|
'xmlThrDefDefaultBufferSize': True,
|
||||||
'xmlThrDefLineNumbersDefaultValue': True,
|
'xmlThrDefLineNumbersDefaultValue': True,
|
||||||
'xmlThrDefPedanticParserDefaultValue': True,
|
'xmlThrDefPedanticParserDefaultValue': True,
|
||||||
|
Reference in New Issue
Block a user