GetManifestForRegisteredProvider() produces XML that does not correctly escape quotes " and angled braces <>.
The generated manifest for Microsoft-Windows-Ntfs has examples of both characters. Other examples are Microsoft-Windows-AppXDeployment-Server, Microsoft-Windows-GroupPolicy and Microsoft-Windows-NetworkProvider.