PureXML/Sources/Validation
Mihaela Mihaljevic 83507939de feat(validation): conformance-corpus harness via the validation framework
Begin Tier-2 conformance checking, expressed through the OpenAPIKit validation
idiom rather than an ad-hoc loop. ConformanceCase is a Validatable named
expectation; Conformance.matchesExpected is a Validation<ConformanceCase, Void>
that emits one located ValidationError per diverging case, so a suite reports
every failure at once with the case name as its coding path. Seeded with a
Canonical XML 1.0 corpus (attribute ordering, empty-element expansion, comment
removal, CDATA-to-escaped-text, PIs, namespace rendering) and a test proving a
divergence is reported as a located failure. Growing the corpora against the
official suites is the ongoing Tier-2 work.

Part of #105 (Tier 2)
2026-06-09 19:08:17 +02:00
..
AttributeDeclaration.swift
AttributeDefault.swift
AttributeListParser.swift
AttributeType.swift
Conformance.swift feat(validation): conformance-corpus harness via the validation framework 2026-06-09 19:08:17 +02:00
ContentModel.swift
ContentModelMatcher.swift
ContentModelParser.swift
DTDDefaults.swift
DTDSchema.swift
DTDValidationHelpers.swift refactor(validation): decompose DTD attribute checks into per-constraint rules (#101) 2026-06-09 04:28:03 +02:00
DTDValidations.swift refactor(validation): decompose DTD attribute checks into per-constraint rules (#101) 2026-06-09 04:28:03 +02:00
HTMLValidations.swift feat(html): conformance validator as composable Validation rules 2026-06-09 04:39:03 +02:00
Occurrence.swift
Particle.swift
Schematron.swift feat(schematron): support key(), document(), and current() in tests 2026-06-09 03:30:43 +02:00
SchematronModel.swift feat(schematron): support key(), document(), and current() in tests 2026-06-09 03:30:43 +02:00
SchematronParser.swift feat(schematron): support key(), document(), and current() in tests 2026-06-09 03:30:43 +02:00
Severity.swift
StreamingDTDValidator.swift feat(validation): streaming DTD ID/IDREF integrity 2026-06-09 10:21:20 +02:00
StructuralValidations.swift
Validation.swift
ValidationCombinators.swift
ValidationCore.swift
Validator.swift