An identity-constraint field must evaluate to a node-set with at most one member (cvc-identity-constraint.3). The validator built a value tuple per target without checking how many nodes each field selected, so an instance whose unique/key/keyref field matched several nodes was accepted. fieldCardinalityError now rejects a target whose field selects more than one node, in both the key/unique and keyref paths. XSTS invalid-instances-accepted 4 → fewer (147 to 143), no other bucket moved. |
||
|---|---|---|
| .. | ||
| Canonical | ||
| Catalog | ||
| Emitting | ||
| HTML | ||
| Model | ||
| Parsing | ||
| Pattern | ||
| Regex | ||
| Schema | ||
| Stream | ||
| Validation | ||
| XInclude | ||
| XPath | ||
| XPointer | ||
| XSLT | ||
| API.swift | ||
| Lint.swift | ||
| PureXML.swift | ||
| QuickFix.swift | ||