pub const MAX_XML_DEPTH: usize = 1024;Expand description
Maximum element nesting depth the recursive-descent canonicalizer will descend before reporting a depth-bound violation. Guards the native call stack against pathologically-nested input (e.g. the “billion laughs”-style deep-nesting denial of service); it is not a ceiling on document size, element count, or content width.