PureXML/Sources
Mihaela Mihaljevic 43f82312e6 feat(parser): resolve XML namespaces at the start-element boundary
Add namespace resolution following the XML Namespaces rules, reimplemented in
Swift from libxml2's SAX2 model; no upstream code copied.

- QualifiedName gains an optional resolved namespaceURI (nil for names built
  directly or in no namespace), with a resolved(namespaceURI:) helper.
- NamespaceContext maintains a scope stack of xmlns bindings as elements open
  and close, resolving element and attribute names against it.
- A default namespace applies to unprefixed element names but never to
  attributes; the xml prefix is built in; xmlns declarations are preserved as
  attributes so documents round-trip; an unbound prefix raises
  ParseError.undefinedNamespacePrefix. End-tag matching stays lexical.
- Namespace-free documents are unchanged (URIs remain nil).
- 7 namespace tests; 39 total.
2026-06-08 01:03:29 +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): resolve XML namespaces at the start-element boundary 2026-06-08 01:03:29 +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): accept raw bytes with UTF-8/UTF-16 encoding detection 2026-06-08 00:52:56 +02:00
PureXML.swift chore: scaffold PureXML pure-Swift XML package 2026-06-07 23:20:20 +02:00