In the source control settings of Gearset, you can set the XML quote escaping style to 3 different values:

  • Gearset default
  • Metadata API style
  • SFDX source style

This setting is team-wide and affects how commits/deployments to git branches are formatted.

Here are the ways that the formatting are different:

Gearset default

  • Uses the characters ' and " in XML nodes.
  • The setting will convert UTF-8 into lower case utf-8 in the XML header

Metadata API style

To be consistent with the Salesforce metadata API, the setting:

  • converts quotes in XML nodes to " and '
  • converts the encoding info from utf-8 into UTF-8

SFDX source style

To be consistent with the Salesforce DX project/source format, the setting:

  • converts quotes in XML nodes to " and '
  • converts the encoding info from utf-8 into UTF-8
Did this answer your question?