PureXML/Sources
Mihaela Mihaljevic 9b55767b39 feat(emitting): add an incremental XML writer (xmlTextWriter)
Add PureXML.Emitting.Writer, the libxml2 xmlTextWriter model: emit a document
with writeStartElement/writeAttribute/writeString/writeEndElement and friends,
never building a tree. Escaping is extracted into a shared Emitting.Escaping
helper used by both the writer and the serializer, so compact writer output is
byte-identical to serializing the equivalent tree. Pretty mode indents element
children (forward-only, so prefer compact for mixed content). Closes #32.
Reimplemented from the libxml2 model; no upstream code copied. 6 tests; 90 total.
2026-06-08 02:32:39 +02:00
..
Emitting feat(emitting): add an incremental XML writer (xmlTextWriter) 2026-06-08 02:32:39 +02:00
Model feat(parser): resolve XML namespaces at the start-element boundary 2026-06-08 01:03:29 +02:00
Parsing feat(parsing): add SAX2 push-callback API 2026-06-08 02:26:04 +02:00
Stream chore: scaffold PureXML pure-Swift XML package 2026-06-07 23:20:20 +02:00
Validation feat(validation): add DTD ID/IDREF/IDREFS validation 2026-06-08 02:13:11 +02:00
XPath feat(xpath): add an XPath 1.0 location-path subset 2026-06-08 01:32:23 +02:00
API.swift feat(parsing): add SAX2 push-callback API 2026-06-08 02:26:04 +02:00
PureXML.swift feat(xpath): add an XPath 1.0 location-path subset 2026-06-08 01:32:23 +02:00