Note that XML is not the problem. The very same problems exist with json also. There is still no clarification on duplicate keys, key ordering, and similar unspec'd oversights.
Signing the normalized content is of course a nightmare, given that there is no spec'd normalization.