PureXML/Sources
Mihaela Mihaljevic 5a7a52b000 fix(emitter): escape tab/newline/CR and > in attribute values
The serializer escaped only & < " in attribute values, so an attribute holding
tab, newline, or carriage return would not survive a spec-compliant parser's
attribute-value normalization. Match the libxml2 attribute escape table: emit
&#9; &#10; &#13; for the whitespace characters and &gt; for >. Behavior derived
from the libxml2 analysis (xmlsave.c / xmlIO.c escape tables), reimplemented in
Swift; no upstream code copied.
2026-06-08 00:20:55 +02:00
..
Emitting fix(emitter): escape tab/newline/CR and > in attribute values 2026-06-08 00:20:55 +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