Skip to main content

Module composition

Module composition 

Source
Expand description

Schema composition graph types

Tracks the relationships between schema documents created by xs:include, xs:import, xs:redefine, and xs:override directives.

These types are populated during directive resolution (Step 1) and consumed by later pipeline stages for document-scoped component lookup, provenance tracking, and override processing order.

Structs§

ComponentIdentity
Unique identity of a schema component (kind + QName).
ComponentOrigin
Tracks which document a component originated from.
CompositionEdge
A directed edge in the schema composition graph.
DocumentComponentIndex
Per-document index of top-level components declared by a single schema document.
EffectiveComponent
An effective top-level component with its provenance metadata.

Enums§

ComponentKey
A typed arena key for any top-level schema component.
ComponentKind
Classification of a top-level schema component.
CompositionAction
How a component arrived in the effective schema set.
CompositionEdgeKind
The kind of composition relationship between two schema documents.

Functions§

overridden_action
Build a CompositionAction::Overridden action (XSD 1.1).
record_provenance
Record a composition provenance entry into the effective components map.
redefined_action
Build a CompositionAction::Redefined action.