Add caching to XML schema support,
required for reasonable performance
in real world use cases.