Skip to main content

Module parser

Module parser 

Source
Expand description

Safe XML parsing into the core model.

This module converts XML parser events into the core::Document tree. It rejects DTDs and unresolved general entities by default using the shared security module policy.

Structs§

ParserConfig
Parser configuration with safe defaults for the MVP.

Functions§

parse_reader
Parses XML from a reader using safe default configuration.
parse_reader_with_config
Parses XML from a reader using an explicit configuration.
parse_str
Parses XML from a string using safe default configuration.
parse_str_with_config
Parses XML from a string using an explicit configuration.