summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libxml/parserInternals.h2
-rw-r--r--parser.c4
-rwxr-xr-xpython/generator.py2
3 files changed, 8 insertions, 0 deletions
diff --git a/include/libxml/parserInternals.h b/include/libxml/parserInternals.h
index b6b2313a..55d6527d 100644
--- a/include/libxml/parserInternals.h
+++ b/include/libxml/parserInternals.h
@@ -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,
diff --git a/parser.c b/parser.c
index 9e4518f7..eb3d1d48 100644
--- a/parser.c
+++ b/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
diff --git a/python/generator.py b/python/generator.py
index 81c285be..989c38e1 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -358,6 +358,8 @@ deprecated_funcs = {
'xmlSchemaCleanupTypes': True,
'xmlSchemaInitTypes': True,
'xmlSetupParserForBuffer': True,
+ 'xmlStringDecodeEntities': True,
+ 'xmlStringLenDecodeEntities': True,
'xmlThrDefDefaultBufferSize': True,
'xmlThrDefLineNumbersDefaultValue': True,
'xmlThrDefPedanticParserDefaultValue': True,