There are several ways to create and update the XML configuration files.
Endeca recommends that you use Developer Studio or Endeca Workbench to configure your project, and only modify the XML files directly when required in unusual situations. If you choose to modify the XML configuration files directly, avoid writing Byte Order Marks (BOMs) into them.
For more information about BOMs, see this site.