Use FreeMarker escaping
NXP-10028 Escape special characters in XML configuration
NXP-9175 Using the '&' character in the db password makes it impossible to start nuxeo