The IdentityValidator emitted every key/keyref/unique error with an empty coding path (at: []), so each rendered "at root of document" regardless of which element violated the constraint. Thread a [PathKey] through the walk, the way the content-model validator already does, so the failures carry the constraining element's path. This restores the validation framework's path-carrying contract for the one rule that was bypassing it. |
||
|---|---|---|
| .. | ||
| Canonical | ||
| Catalog | ||
| Emitting | ||
| HTML | ||
| Model | ||
| Parsing | ||
| Pattern | ||
| Regex | ||
| Schema | ||
| Stream | ||
| Validation | ||
| XInclude | ||
| XPath | ||
| XPointer | ||
| XSLT | ||
| API.swift | ||
| Lint.swift | ||
| PureXML.swift | ||
| QuickFix.swift | ||