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. |
||
|---|---|---|
| .. | ||
| Emitting | ||
| Model | ||
| Parsing | ||
| Stream | ||
| Validation | ||
| XPath | ||
| API.swift | ||
| PureXML.swift | ||