Refine the identity-constraint path: rather than locating at the element that declares the key, walk from the constraint-bearing element down to the selected target and report the actual offender, so a duplicate key renders "at path: list/item[2]" and a dangling keyref "at path: orders/line". Also locate the "no element declaration for the root" XSD error at the root element, matching the namespace check beside it that already did so. Lock both with coding-path assertions in the identity tests. |
||
|---|---|---|
| .. | ||
| Canonical | ||
| Catalog | ||
| Emitting | ||
| HTML | ||
| Model | ||
| Parsing | ||
| Pattern | ||
| Regex | ||
| Schema | ||
| Stream | ||
| Validation | ||
| XInclude | ||
| XPath | ||
| XPointer | ||
| XSLT | ||
| API.swift | ||
| Lint.swift | ||
| PureXML.swift | ||
| QuickFix.swift | ||