PureXML/Sources
Mihaela Mihaljevic 204dd3895e feat(parser): streaming byte decode (incremental UTF-8/UTF-16)
Add PureXML.parse(pullingBytes:) and events(pullingBytes:) over an incremental
byte source (() -> UInt8?). StreamingDecoder detects the encoding from the
leading bytes, strips any BOM, and yields one scalar at a time as a Character,
so a byte stream is never fully buffered. UTF-8 (1 to 4 bytes) and UTF-16 (with
surrogate pairs) are decoded incrementally; invalid sequences become the Unicode
replacement character. Standard library only, no Foundation. Reimplemented from
the documented UTF decoding rules; no upstream code copied.
2026-06-08 01:07:24 +02:00
..
Emitting refactor(emitter): make the serializer iterative and fix mixed content 2026-06-08 00:31:05 +02:00
Model feat(parser): resolve XML namespaces at the start-element boundary 2026-06-08 01:03:29 +02:00
Parsing feat(parser): streaming byte decode (incremental UTF-8/UTF-16) 2026-06-08 01:07:24 +02:00
Stream chore: scaffold PureXML pure-Swift XML package 2026-06-07 23:20:20 +02:00
Validation chore: scaffold PureXML pure-Swift XML package 2026-06-07 23:20:20 +02:00
API.swift feat(parser): streaming byte decode (incremental UTF-8/UTF-16) 2026-06-08 01:07:24 +02:00
PureXML.swift chore: scaffold PureXML pure-Swift XML package 2026-06-07 23:20:20 +02:00