Closes #75, on the validation framework. XSD instance-level features: - nillable elements: an xsi:nil="true" element is accepted (its content model is not checked) only when the element is declared nillable and carries no content; xsi:nil on a non-nillable element, or a nilled element with content, is a located error. - fixed value constraints: a present fixed attribute must equal its fixed value, and a fixed element's text must match. - default/fixed are parsed onto AttributeUse (per use) and collected per element name (nillable set + value constraints), threaded through XSDContext to the ComplexValidator. All findings are located ValidationErrors. Collection and helper methods move to same-file extensions to stay within type-body limits. |
||
|---|---|---|
| .. | ||
| Canonical | ||
| Catalog | ||
| Emitting | ||
| HTML | ||
| Model | ||
| Parsing | ||
| Pattern | ||
| Regex | ||
| Schema | ||
| Stream | ||
| Validation | ||
| XInclude | ||
| XPath | ||
| XPointer | ||
| XSLT | ||
| API.swift | ||
| PureXML.swift | ||