SECURITY: Return error on invalid XML for SVGs