Skip to main content

parse_schema_with_config

Function parse_schema_with_config 

Source
pub fn parse_schema_with_config(
    xml: &[u8],
    base_uri: &str,
    schema_set: &mut SchemaSet,
    config: &ParserConfig,
) -> SchemaResult<DocumentId>
Expand description

Parse an XSD schema document with custom configuration.

The XSD version is always derived from schema_set.xsd_version, regardless of what config.xsd_version contains.