pub const DEFAULT_MAX_DECLARATIONS_PER_ELEMENT: usize = 256;Expand description
Default limit on the number of xmlns / xmlns:* declarations
NamespaceResolver::push will accept on a single start tag.
Real-world XML dialects (XHTML, SVG, SOAP, RSS, RRDP, …) declare a handful
of namespaces per element; 256 is orders of magnitude above any legitimate
document while bounding the heap allocated for one <... xmlns:...> tag to
a few kilobytes regardless of input size.