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. |
||
|---|---|---|
| .. | ||
| AttributeDeclaration.swift | ||
| AttributeDefault.swift | ||
| AttributeListParser.swift | ||
| AttributeType.swift | ||
| ContentModel.swift | ||
| ContentModelMatcher.swift | ||
| ContentModelParser.swift | ||
| DTDSchema.swift | ||
| Issue.swift | ||
| Occurrence.swift | ||
| Particle.swift | ||
| Severity.swift | ||
| Validator.swift | ||