Casing issue with XmlProvider

Fixes #309