summaryrefslogtreecommitdiff
path: root/src/libs/libxml2-2.6.31/include/libxml/parserInternals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/libxml2-2.6.31/include/libxml/parserInternals.h')
-rw-r--r--src/libs/libxml2-2.6.31/include/libxml/parserInternals.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libs/libxml2-2.6.31/include/libxml/parserInternals.h b/src/libs/libxml2-2.6.31/include/libxml/parserInternals.h
index 7ac0ce6e..56f3ce81 100644
--- a/src/libs/libxml2-2.6.31/include/libxml/parserInternals.h
+++ b/src/libs/libxml2-2.6.31/include/libxml/parserInternals.h
@@ -30,6 +30,15 @@ extern "C" {
*/
XMLPUBVAR unsigned int xmlParserMaxDepth;
+/**
+ * XML_MAX_TEXT_LENGTH:
+ *
+ * Maximum size allowed for a single text node when building a tree.
+ * This is not a limitation of the parser but a safety boundary feature,
+ * use XML_PARSE_HUGE option to override it.
+ */
+#define XML_MAX_TEXT_LENGTH 10000000
+
/**
* XML_MAX_NAMELEN:
*