Can't Save SAML Meta-data

SAML meta-data fails to save and redirects to an Oops page. Remove the leading <?xml version=”1.0″ encoding=”UTF-8”?> and format the XML before saving. Questions this answers: Why won't my SAML metadata save? How do I fix an Oops error when adding an additional IDP?