Decode UTF-32 (both byte orders, BOM or sniffed) and the single-byte encodings ISO-8859-1 and Windows-1252, selected by the XML declaration's encoding name, in addition to UTF-8 and UTF-16. The streaming byte path also handles UTF-32. Standard library only, no Foundation. Closes #28. Reimplemented from the documented encoding algorithms; no upstream code copied. 4 tests; 94 total. |
||
|---|---|---|
| .. | ||
| Fixtures | ||
| DTDAttributeTests.swift | ||
| DTDIdentifierTests.swift | ||
| DTDTests.swift | ||
| DTDValidationTests.swift | ||
| EncodingTests.swift | ||
| ModelTests.swift | ||
| NamespaceTests.swift | ||
| ParsingTests.swift | ||
| SAXTests.swift | ||
| SerializerTests.swift | ||
| ValidationTests.swift | ||
| WriterTests.swift | ||
| XPathTests.swift | ||