Skip to main content

MAX_DOCUMENT_DEPTH

Constant MAX_DOCUMENT_DEPTH 

Source
pub const MAX_DOCUMENT_DEPTH: usize = 1024;
Expand description

How deeply a document’s elements may nest; deeper documents are rejected with Error::Xml. Real TEI documents nest a few dozen levels.