Fix: xml: Preserve the attribute order in the patch for subsequent digest validation
Fix: xml: Return valid error codes from xml_apply_patchset_v1
Fix: xml: Ensure patches always have version details set
Fix: xml: Detect content that is added and removed in the same update