Validate XML SP metadata
Summary
When you upload or copy metadata for a new SP in SAML section, metada are not validate with XML parser. if you have a mistake in your XML ( like not encoding special caracter like "&" in URL for example) no error is done in IHM. Moreover SAML not working for other SP due to this error.
Design proposition
When the form is submited, launch an XML parser validation before save metadata anf if an error is occured display an error message