Expand description
The schema model: what an .xsd says, in a form a validator can
walk.
This is deliberately narrower than the XSD specification. It covers the constructs that appear in real schemas — elements, sequences, choices, cardinality, attributes, and the simple-type restriction facets — and omits the ones that multiply surface without adding validating power until the core is correct.
Re-exports§
pub use crate::datatype::Datatype as BuiltIn;
Structs§
- Attribute
Decl - An attribute declaration.
- Facets
- Constraints narrowing a simple type.
- Identity
- An
xs:unique,xs:keyorxs:keyrefdeclaration. - Occurs
- How many times a particle may occur.
- Particle
- An element declaration within a content model.
- Schema
- A parsed schema.
- Simple
Type - A simple type: a built-in, optionally restricted, listed or united.
- Wildcard
- An
xs:anyorxs:anyAttributewildcard.
Enums§
- Content
- What may appear inside an element.
- Identity
Kind - Which kind of identity constraint a declaration is.
- Namespace
Constraint - The
namespaceattribute of a wildcard. - Process
Contents - The
processContentsattribute of a wildcard. - Variety
- Which of XSD’s three simple-type varieties this is.