XD-1261: Derive default values for xml module options
XD-1261 changes on merge