xmloxide: A Pure Rust Reimplementation of libxml2 for Memory-Safe XML Parsing
By
jawiggins
Hand-rolled, kettle-boiled, baked to perfection. Worth every minute at the bakery.
Summary
xmloxide is a pure Rust reimplementation of the libxml2 XML/HTML parsing library, created as a memory-safe, high-performance replacement after libxml2 became officially unmaintained in December 2025 with known security issues. The project aims to provide full conformance with W3C XML standards while offering improved safety through Rust's memory safety features, including arena-based tree structures and zero unsafe code in the public API. It achieves 100% pass rate on the W3C XML Conformance Test Suite and maintains compatibility with libxml2's error recovery capabilities for parsing malformed XML.
Key quotes
· 5 pulledA pure Rust reimplementation of libxml2 — the de facto standard XML/HTML parsing library in the open-source world.
libxml2 became officially unmaintained in December 2025 with known security issues. xmloxide aims to be a memory-safe, high-performance replacement that passes the same conformance test suites.
Memory-safe — arena-based tree with zero unsafe in the public API
Conformant — 100% pass rate on the W3C XML Conformance Test Suite (1727/1727 applicable tests)
Error recovery — parse malformed XML and still produce a usable tree, just like libxml2
You might also wanna read
OBS Studio 32.1.0 Beta 1 Released with New Audio Mixer and WebRTC Simulcast Support
OBS Studio has released version 32.1.0 Beta 1, which includes several new features such as a new Audio Mixer, updated Add Source dialog, Web
Developing a Secure Peer-to-Peer App Platform for the Clan Framework
The article discusses the Clan framework's efforts to develop a secure peer-to-peer app platform that can compete with Big Tech solutions. I
Rust Coreutils 0.5.0 Released with Improved GNU Compatibility and Testing
Rust Coreutils 0.5.0 has been released, marking a significant milestone with improved GNU test suite compatibility. The release shows progre
Why Average LLM Use Is Likely Destroying Value in Software Development
The author argues that, contrary to prevailing hype, the average use of Large Language Models (LLMs) is likely destroying value rather than
How AI Accelerated Prototyping: From Idea to Tangible in Record Time
The author reflects on how AI has transformed their prototyping workflow. Previously, the biggest bottleneck was the time needed to scaffold
Comparing AI Agent Frameworks: Hermes Agent, AutoGPT, OpenAI Agents, and CrewAI in 2026
A practical, engineering-focused comparison of major AI agent frameworks in 2026, including Hermes Agent, AutoGPT, OpenAI Agents, and CrewAI
cstu.io·15h ago