Standards & Verification
W3C Standards Conformance
Rigorously validated against official W3C XML 1.0, W3C XML Schema (XSD), and XPath 1.0 test suites with continuous regression ratchets.
W3C XML 1.0 Conformance Suite
oxml integrates the official W3C XML Conformance Test Suite (xmlts20130923) directly into continuous integration:
- XML 1.0 (Fifth Edition) Compliance: Validates character ranges, UTF-8/UTF-16 encoding decoding, element nesting, and entity replacement.
- Well-Formedness Gate: 100% pass rate across all valid and invalid test documents in the core W3C suite.
- Deterministic Diagnostics: Rejects invalid XML with precise line, column, and byte-offset error coordinates.
W3C XML Schema (XSD) Conformance
xmlschema is verified continuously against the official W3C XML Schema Test Suite (xsts-2007-06-20), pinned cryptographically by SHA-256 hash:
| Test Metric | Count / Rate | Status |
|---|---|---|
| Total Test Cases in Suite | 39,420 tests | Executed in automated CI |
| Decided Test Cases | 35,942 tests | Evaluated under release mode |
| Passing Test Cases | 34,226 passed | 95.2% pass rate |
| Failing Test Cases | 1,716 failed | Cataloged in baseline ratchet |
| Panic / Crash Count | 0 panics | 100% panic-free termination |
A ratcheted baseline file guards against any regression: if any previously passing test fails in a pull request, CI immediately fails the build.
XPath 1.0 Specification Conformance
The oxml XPath engine is tested against the OASIS and W3C XPath 1.0 specification suites:
- Axis Navigation: Complete support for all 13 axes:
child,descendant,parent,ancestor,following-sibling,preceding-sibling,following,preceding,attribute,namespace,self,descendant-or-self,ancestor-or-self. - Standard Functions:
count(),id(),local-name(),namespace-uri(),name(),string(),concat(),starts-with(),contains(),substring-before(),substring-after(),substring(),string-length(),normalize-space(),translate(),boolean(),not(),true(),false(),lang(),number(),sum(),floor(),ceiling(),round(). - Performance Guarantee: Fast-path optimization for 1-based integer position predicates (e.g.
[1],[last()]) evaluates in O(1) time without full node-set materialization.
For throughput and latency numbers across different corpus sizes, see the dedicated Benchmarks page.