I mentioned this to Tim Bray in another context (putting together a
Ruby-based Atom validator of sorts), but applies here too. The world’s
fastest RELAX NG (Compact) validator:
http://www.davidashen.net/rnv.html
Written as an extension to expat, it includes Python and Perl examples.
Bruce