PureXML/Sources
Mihaela Mihaljevic 209b6f1538 refactor(emitter): make the serializer iterative and fix mixed content
Reimplement the serializer as an explicit work-stack walk instead of recursion,
mirroring libxml2's xmlNodeDumpOutputInternal, so it is no longer the depth
bottleneck. Reimplemented in Swift; no upstream code copied.

Also fix a mixed-content correctness bug: formatting is now suppressed for any
element with text or CDATA children (previously only when ALL children were
text), so pretty-printing never injects whitespace around significant text.

Note surfaced while testing: the remaining depth ceiling is the recursive
Model.Node indirect enum (recursive ARC teardown overflows at extreme depth),
which is why the parser must cap nesting depth (next).
2026-06-08 00:31:05 +02:00
..
Emitting refactor(emitter): make the serializer iterative and fix mixed content 2026-06-08 00:31:05 +02:00
Model chore: scaffold PureXML pure-Swift XML package 2026-06-07 23:20:20 +02:00
Parsing feat(parser): add a streaming, iterative XML parser 2026-06-08 00:10:50 +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): add a streaming, iterative XML parser 2026-06-08 00:10:50 +02:00
PureXML.swift chore: scaffold PureXML pure-Swift XML package 2026-06-07 23:20:20 +02:00