Module schema

Module schema 

Source
Expand description

The schema module contains internal representations of XML Schema (XSD) structures.

This module defines types that model loaded XML schemas, namespaces, and their relationships, serving as the output of the Parser and input to the Interpreter.

It manages the resolution of namespaces and tracks schema documents across multiple sources.

Modules§

xs

Structs§

Namespace
Represents a XML namespace.
NamespaceId
Represents a unique id for a XML namespace.
NamespaceInfo
Contains the information for a specific namespace.
NamespacePrefix
Represents a XML namespace prefix.
QName
Type that represents a a resolved QName.
SchemaId
Represents an unique id for a XML schema.
SchemaInfo
Contains information for a specific schema
Schemas
Top-level structure for managing loaded XML schema files and associated namespaces.

Enums§

MaxOccurs
Represents the maximum occurrence of types or elements

Type Aliases§

MinOccurs
Represents the minimum occurrence of types or elements
NamespaceInfos
Map of NamespaceId to NamespaceInfo
NamespacePrefixes
Map of NamespacePrefix to NamespaceId
Namespaces
Map of Namespace to NamespaceId
SchemaFiles
Map of SchemaId to Schema