PureXML/Sources/Model
Mihaela Mihaljevic 380160cc2b refactor(validation): decompose XSD instance validation into composable rules
The two monolithic XSD content/identity rules only satisfied the OpenAPIKit
validation idiom at the wrong granularity: no per-constraint removability,
no isolable failing/near-miss tests. Split them into 32 named rules, each
finding tagged at its origin and cached per XSDContext so the walk still
runs once per document (the #101 decision against duplicating XSD's
recursive type resolution still holds). Wired the streaming path's ID/IDREF
and identity checks through the same framework instead of calling the
validators imperatively, and added the unwrapAndLookup combinator the rule
already named as required.

Also includes the mandated repo-wide swiftformat/swiftlint pass.
2026-07-12 14:12:17 +02:00
..
Attribute.swift chore: scaffold PureXML pure-Swift XML package 2026-06-07 23:20:20 +02:00
Element.swift perf(model): make the value Node tree type depth-safe (#344) 2026-06-26 17:05:42 +02:00
ElementStorage.swift perf(model): make the value Node tree type depth-safe (#344) 2026-06-26 17:05:42 +02:00
Node.swift refactor(validation): decompose XSD instance validation into composable rules 2026-07-12 14:12:17 +02:00
NodeRebuild.swift perf: make tree-to-tree transforms depth-safe (DTD defaults, canonicalization) (#352) 2026-06-26 19:27:37 +02:00
QualifiedName.swift perf(parse): split the name prefix from a scanned colon offset (#292) 2026-06-25 12:23:53 +02:00
TreeNode.swift refactor(validation): decompose XSD instance validation into composable rules 2026-07-12 14:12:17 +02:00
TreeNodeConversion.swift refactor(validation): decompose XSD instance validation into composable rules 2026-07-12 14:12:17 +02:00
TreeNodeEditing.swift refactor(validation): decompose XSD instance validation into composable rules 2026-07-12 14:12:17 +02:00
TreeNodeIdentity.swift feat(model): first-class doctype/entity-reference/namespace nodes, ownerDocument, adoption (#90) 2026-06-09 03:43:24 +02:00
TreeNodeMutation.swift refactor(validation): decompose XSD instance validation into composable rules 2026-07-12 14:12:17 +02:00
TreeNodeNavigation.swift fix(xpath): make string-value extraction iterative and comment-correct (#351) 2026-06-26 20:44:49 +02:00
TreeNodeSpan.swift refactor(validation): decompose XSD instance validation into composable rules 2026-07-12 14:12:17 +02:00