Expand description
libxml2 implementation — native Rust (§1, §3, §31).
This module contains the complete native-Rust implementation of libxml2’s observable behavior: parser, SAX, tree, entities, namespaces, DTD, validation, reader, writer, encoding, I/O, catalog, URI, XPath, XPointer, XInclude, RELAX NG, schemas, Schematron, C14N, HTML, regex, automata, dictionary, hash, list, debug, globals, threads, errors, memory.
§Phase 0 status
All sub-modules are scaffolded. Implementation proceeds in phases per §85:
- Phase 2: Tree and ownership
- Phase 3: XML parsing + SAX
- Phase 4: I/O, encoding, URI, catalog, serialization, HTML
- Phase 5: XPath/XPointer/XInclude
- Phase 6: Validation family
- Phase 7: Remaining libxml2 surfaces
See atlas/PARITY_MATRIX.md for current status.
Modules§
- automata
- Automata/state machine infrastructure (§85 Phase 7).
- c14n
- Canonical XML implementation (§28, §85 Phase 7).
- catalog
- XML Catalog support (§26, §85 Phase 4).
- debug
- Debug/memory debugging infrastructure (§85 Phase 7).
- dictionary
- Dictionary — string interning (§85 Phase 1).
- dtd
- DTD handling (§24, §85 Phase 3).
- encoding
- Character encoding handling (§22, §85 Phase 4).
- entities
- Entity handling (§24, §85 Phase 3).
- errors
- Error subsystem (§21, §85 Phase 1).
- globals
- Global state management (§57, §85 Phase 1).
- hash
- Hash table — public xmlHash API (§85 Phase 1).
- html
- HTML parser and serializer (§29, §85 Phase 4).
- io
- Custom I/O and resource loaders (§59, §85 Phase 4).
- list
- Linked list — public xmlList API (§85 Phase 1).
- memory
- Memory management (§58, §85 Phase 1).
- namespaces
- Namespace handling (§23, §85 Phase 2/3).
- parser
- XML parser — native Rust (§19, §20, §85 Phase 3).
- reader
- XML Reader API (§30, §85 Phase 7).
- regex
- libxml2’s internal regex engine (§85 Phase 7).
- relaxng
- RELAX NG implementation (§27, §85 Phase 6).
- sax
- SAX/SAX2 callback infrastructure (§20).
- schemas
- XML Schema implementation (§27, §85 Phase 6).
- schematron
- Schematron implementation (§27, §85 Phase 6).
- threads
- Threading support (§57, §93, §85 Phase 1).
- tree
- XML tree construction and manipulation (§17, §18, §85 Phase 1).
- uri
- URI/IRI handling (§26, §85 Phase 4).
- validation
- DTD validation (§27, §85 Phase 6).
- writer
- XML Writer API (§30, §85 Phase 7).
- xinclude
- XInclude implementation (§26, §85 Phase 5).
- xpath
- XPath 1.0 implementation (§25, §85 Phase 5).
- xpointer
- XPointer implementation (§26, §85 Phase 5).