Expand description
Bounded XML represented by a flat, ordered stream of typed nodes. No DOM recursion, DTD, external entities, raw XML action or configuration store.
Structs§
Enums§
Constants§
- MAX_
ATTRIBUTES - MAX_
ATTRIBUTE_ BYTES - MAX_
DEPTH - MAX_
NAMESPACES - MAX_
NAME_ BYTES - MAX_
NODES - MAX_
RETAINED_ BYTES - MAX_
TEXT_ BYTES - MAX_
URI_ BYTES
Functions§
- children
- Immediate child elements of a protocol envelope; non-whitespace mixed text is refused here, while configuration fragments preserve their mixed content.
- element
- embedded
- Render a typed fragment inside a namespaced wrapper. Prefix selection cannot be redirected by configuration bindings or QName-valued attribute content.
- end_
index - inner
- Detach configuration content while carrying all active namespace bindings, including bindings used only by QName-valued text or attributes.
- is_
element - parse
- parse_
fragment - Parse handler-supplied XML content (zero or more sibling elements and text) with the same bounds as a wire message. The text is markup the handler wrote; it is parsed, never spliced, so a fragment cannot close the envelope it is placed in or declare a DTD.
- parse_
fragment_ in parse_fragmentwhere unprefixed elements without their ownxmlnsbelong todefault_namespace— for content whose schema is the envelope’s own, such as the RFC 6241<error-info>elements (session-id,bad-element, …).- qualified
- render_
fragment - Render a detached fragment back to XML text. Each top-level element declares the bindings that were in scope where the fragment was taken, so the text stands alone.
- text