Add ComplexValidator validating an element against a ComplexType: attribute uses (required, typed, unknown-attribute rejection) and the content model (empty, simpleContent, elementOnly, mixed). Particles compile to a Thompson NFA over element names honoring minOccurs/maxOccurs with sequence and choice compositors; all groups are validated order-independently by counting. Child elements are validated recursively against their declared types. Closes #9 |
||
|---|---|---|
| .. | ||
| BuiltinType.swift | ||
| ComplexType.swift | ||
| ComplexValidator.swift | ||
| ContentMatcher.swift | ||
| DateTimeParser.swift | ||
| DateTimeValue.swift | ||
| DecimalValue.swift | ||
| Lexical.swift | ||
| Primitive.swift | ||
| SimpleType.swift | ||