When defining a mapping using an XSD Schema as output data shape, AtlasMap generates an output XML that is not compliant with the XSD definition producing an invalid output.
Example mapping:
It seems the order of elements as defined in the XSD is incorrect.