Skip to main content

Module xml_input

Module xml_input 

Source
Expand description

Bounded XML input decoding and lexical helpers.

[decode_xml_bounded] accepts trusted encoding metadata and a caller-supplied decoded-byte limit. The unbounded internal helpers are not public.

ⓘ
use xml_sec::xml_input::decode_xml;

Modules§

lexical
Zero-copy lexical XML events and deterministic XML serialization.

Enums§

Error
Failure while converting external bytes into the Unicode XML parser contract.

Functions§

decode_xml_bounded
Decode XML while preventing either the transcoded or normalized UTF-8 representation from growing beyond maximum_decoded_bytes.