An xs:element or xs:attribute declaration carrying both a default and a fixed value constraint was accepted; XSD 1.0 src-element.1 / src-attribute.1 make the two mutually exclusive. The check rides the existing value-constraint structure walk, gated to XSD-namespace declarations and reading the unprefixed default/fixed (a foreign same-local-name attribute is not the value constraint). It is per declaration, so a default on a global declaration and a fixed on a reference to it (two separate items) remains valid. XSTS: invalid schemas accepted 479 to 469, no other bucket raised. |
||
|---|---|---|
| .. | ||
| Canonical | ||
| Catalog | ||
| Emitting | ||
| HTML | ||
| Model | ||
| Parsing | ||
| Pattern | ||
| Regex | ||
| Schema | ||
| Stream | ||
| Validation | ||
| XInclude | ||
| XPath | ||
| XPointer | ||
| XSLT | ||
| API.swift | ||
| Lint.swift | ||
| PureXML.swift | ||
| QuickFix.swift | ||