Expand description
XML Schema (XSD) parser and resolver infrastructure.
This module defines the Parser
type and supporting logic for loading,
resolving, and parsing XML Schema documents (.xsd
) into structured Schemas
.
The parser supports various input sources (e.g., files, strings, URLs) and
handles <import>
and <include>
logic using pluggable Resolver
implementations.
Parsed schemas can be passed to the Interpreter
for
further transformation into semantic types.
§Example
ⓘ
let schemas = Parser::new()
.with_default_resolver()
.add_schema_from_file("schema.xsd")?
.finish();
Re-exports§
pub use self::resolver::Resolver;
Modules§
Structs§
- Parser
- The
Parser
is responsible for loading and parsing XML Schema documents into a structuredSchemas
representation.