[XmlProvider constructors] Order of elements is not respected (closes #580)