The derivation final check and Particle Valid (Restriction) move from fail-fast throws at schema compile into composable Validation rules (finalRespected, restrictionsAreSubsets) over per-type SchemaTypeFact subjects, so a schema with several problems reports every finding at once. SchemaError gains .inconsistent([String]) carrying all findings (texts unchanged) and drops .finalViolation/.invalidRestriction. checkRedefine, checkAllGroups, and notASchema stay throws: they examine the raw schema source, the compilation analog of well-formedness. |
||
|---|---|---|
| .. | ||
| BuiltinType.swift | ||
| ComplexType.swift | ||
| ComplexValidator.swift | ||
| ComplexValidatorDerivation.swift | ||
| ComplexValidatorHelpers.swift | ||
| ComplexValidatorStreaming.swift | ||
| ContentMatcher.swift | ||
| DateTimeParser.swift | ||
| DateTimeValue.swift | ||
| DecimalValue.swift | ||
| DerivationMethod.swift | ||
| IdentityConstraint.swift | ||
| IdentityValidator.swift | ||
| Lexical.swift | ||
| ParticleRestriction.swift | ||
| Primitive.swift | ||
| RelaxNGCompactHelpers.swift | ||
| RelaxNGCompactLexer.swift | ||
| RelaxNGCompactParser.swift | ||
| RelaxNGDerivative.swift | ||
| RelaxNGDiagnostics.swift | ||
| RelaxNGFacets.swift | ||
| RelaxNGParser.swift | ||
| RelaxNGPattern.swift | ||
| RelaxNGSchema.swift | ||
| SchemaDocument.swift | ||
| SimpleType.swift | ||
| StreamingXSDValidator.swift | ||
| TypeDerivation.swift | ||
| XSDCompletions.swift | ||
| XSDComplexContent.swift | ||
| XSDContext.swift | ||
| XSDDerivation.swift | ||
| XSDParser.swift | ||
| XSDSchemaValidations.swift | ||
| XSDSimpleParser.swift | ||
| XSDValidations.swift | ||
| XSDWildcardParser.swift | ||