Loader spinner and xsd validation