The example you're referring to is there to illustrate how to register a compare merge viewer and other viewers. The purpose is not to provide an XML compare. It's more like a side effect
If you want to see real XML compare support,
the best place to request it would be from the WTP project which provides a full blown XML editor. But make sure to check first it they don't provide the XML compare already.