PureXML/Sources/XPath
Mihaela Mihaljevic 80fffd8127 feat(validation): Schematron rule validation
Add PureXML.Validation.Schematron: compile a Schematron schema (matching
schema/pattern/rule/assert/report by local name, so the ISO and legacy
namespaces both work) and validate a document. A rule's context XPath
selects the nodes it fires on; each assert/report test is evaluated relative
to the node via the XPath context-node API. A failed assert is an error, a
matched report a warning; within a pattern a node fires the first matching
rule. Adds XPath.Query.nodes(over:) returning matched tree nodes so one tree
can be queried repeatedly.

Closes #52
Closes #53
Closes #25
2026-06-08 05:58:55 +02:00
..
Axis.swift feat(xpath): all thirteen axes via parent-aware navigation 2026-06-08 05:15:14 +02:00
AxisNavigation.swift feat(xpath): all thirteen axes via parent-aware navigation 2026-06-08 05:15:14 +02:00
Compiler.swift feat(xpath): expression engine and the four-type model 2026-06-08 05:33:13 +02:00
CompilerPaths.swift feat(xpath): expression engine and the four-type model 2026-06-08 05:33:13 +02:00
CoreFunctions.swift feat(xpath): expression engine and the four-type model 2026-06-08 05:33:13 +02:00
EvaluationContext.swift feat(xpath): expression engine and the four-type model 2026-06-08 05:33:13 +02:00
Evaluator.swift feat(validation): Schematron rule validation 2026-06-08 05:58:55 +02:00
EvaluatorOperators.swift feat(xpath): expression engine and the four-type model 2026-06-08 05:33:13 +02:00
EvaluatorSteps.swift feat(xpath): expression engine and the four-type model 2026-06-08 05:33:13 +02:00
Expression.swift feat(xpath): expression engine and the four-type model 2026-06-08 05:33:13 +02:00
NodeFunctions.swift feat(xpath): full XPath 1.0 function library 2026-06-08 05:38:39 +02:00
NodeTest.swift feat(xpath): all thirteen axes via parent-aware navigation 2026-06-08 05:15:14 +02:00
Query.swift feat(validation): Schematron rule validation 2026-06-08 05:58:55 +02:00
QueryError.swift feat(xpath): expression engine and the four-type model 2026-06-08 05:33:13 +02:00
Selection.swift feat(xpath): add an XPath 1.0 location-path subset 2026-06-08 01:32:23 +02:00
Step.swift feat(xpath): expression engine and the four-type model 2026-06-08 05:33:13 +02:00
StringFunctions.swift feat(xpath): full XPath 1.0 function library 2026-06-08 05:38:39 +02:00
Value.swift feat(xpath): expression engine and the four-type model 2026-06-08 05:33:13 +02:00
XPathNode.swift feat(xpath): expression engine and the four-type model 2026-06-08 05:33:13 +02:00