PureXML/Sources/Catalog
Mihaela Mihaljevic 634270d529 feat(catalog): OASIS XML Catalog resolution
Add the PureXML.Catalog namespace: parse an OASIS XML catalog (public,
system, uri, rewriteSystem, rewriteURI, group/catalog by local name) into a
Resolver mapping public/system identifiers and URI names to URIs, with
longest-prefix rewriting and system-over-public precedence. entityResolver
(loadingURI:) builds a Parsing.EntityResolver that resolves an external
identifier through the catalog and loads the URI via an injected closure, so
a catalog plus loader wires entities and DTDs in while the default keeps XXE
closed.

Closes #57
Closes #58
Closes #27
2026-06-08 06:03:02 +02:00
..
CatalogParser.swift feat(catalog): OASIS XML Catalog resolution 2026-06-08 06:03:02 +02:00
Resolver.swift feat(catalog): OASIS XML Catalog resolution 2026-06-08 06:03:02 +02:00