Variable: xml-entity-expansion-limit
xml-entity-expansion-limit is a variable defined in xml.el.gz.
Value
20000
Documentation
The maximum size of entity reference expansions.
If the size of the buffer increases by this many characters while expanding entity references in a segment of character data, the XML parser signals an error. Setting this to nil removes the limit (making the parser vulnerable to XML bombs).
Source Code
;; Defined in /usr/src/emacs/lisp/xml.el.gz
(defvar xml-entity-expansion-limit 20000
"The maximum size of entity reference expansions.
If the size of the buffer increases by this many characters while
expanding entity references in a segment of character data, the
XML parser signals an error. Setting this to nil removes the
limit (making the parser vulnerable to XML bombs).")