Complete the structural DTD validation layer. AttributeType now distinguishes the ID family; the validator does a second pass after the structural walk (since an IDREF may point forward to an ID later in the document): - ID-typed attribute values must be unique across the document. - IDREF values must each resolve to a declared ID. - IDREFS values are split on whitespace and each token must resolve. Reimplemented from the DTD ID/IDREF spec; no upstream code copied. 4 tests; 79 total. |
||
|---|---|---|
| .. | ||
| Fixtures | ||
| DTDAttributeTests.swift | ||
| DTDIdentifierTests.swift | ||
| DTDTests.swift | ||
| DTDValidationTests.swift | ||
| EncodingTests.swift | ||
| ModelTests.swift | ||
| NamespaceTests.swift | ||
| ParsingTests.swift | ||
| SerializerTests.swift | ||
| ValidationTests.swift | ||
| XPathTests.swift | ||