An element with a fixed value constraint carries its fixed character value and no element children, even under a mixed content type (cvc-elt.5.2.2.2.1). The fixed check compared only the concatenated text, so a mixed fixed element whose text matched the fixed value but which also contained child elements (ctZ013c/d) was accepted. elementFixedErrors now rejects a fixed element that has element children. An empty element (which takes the fixed value) and text equal to the fixed value remain valid. invalid-instances-accepted 37 to 34, no false positive (valid-instances-rejected and valid-schemas-rejected held at 0; a fixed element never validly carries element children), 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 | ||