NXP-11152 - fix generation of nuxeo.xml on mail.debug activation
NXP-10260 - use FreeMarker escaping for XML templates
NXP-10260 - fix line end type
NXP-10837: update tests