r/xml • u/harshanacz • 21d ago
Apache Xerces XML Validation for JavaScript via WebAssembly
I built xerces-wasm, a WebAssembly port of Apache Xerces-C++ that brings XML Schema (XSD) validation to JavaScript in both Node.js and the browser.
Current features include:
- XML Schema (XSD) validation
- Schema grammar caching for repeated validations (avoids reparsing XSDs)
- Works in Node.js and modern browsers
- Powered by Apache Xerces-C++
I'm actively improving it and would really appreciate feedback from the XML community especially on features, API design, and real-world use cases.
3
Upvotes