PureXML/Sources/Validation
Mihaela Mihaljevic fb31033ce8 feat(dtd): located content-model errors with recovery hints
An element whose children break its content model now names each stray
child outside the model's alphabet individually, and reports a pure
order/count violation once with the allowed elements as a hint, instead
of a single opaque "do not match its content model". Adds an alphabet
extractor to the content-model matcher. This brings DTD to the same
located standard as the XSD, RELAX NG, and Schematron validators, so all
four schema languages give editor-grade diagnostics.
2026-06-09 00:59:25 +02:00
..
AttributeDeclaration.swift
AttributeDefault.swift
AttributeListParser.swift
AttributeType.swift
ContentModel.swift
ContentModelMatcher.swift feat(dtd): located content-model errors with recovery hints 2026-06-09 00:59:25 +02:00
ContentModelParser.swift
DTDDefaults.swift
DTDSchema.swift
DTDValidationHelpers.swift feat(dtd): located content-model errors with recovery hints 2026-06-09 00:59:25 +02:00
DTDValidations.swift
Occurrence.swift
Particle.swift
Schematron.swift
SchematronModel.swift
SchematronParser.swift
Severity.swift
StructuralValidations.swift
Validation.swift
ValidationCombinators.swift
ValidationCore.swift
Validator.swift