How does `XMLPlatformUtils` know about "parser"? Even if creating a parser registered itself in some global registry (which it does not, according to documentation), it would un-register on deletion.