Project: mulestudio
Issue STUDIO-2933: Nested attributes are created when adding an XML element with a name identical to an existing attribute
Steps to reproduce: 1) Create a new Data Mapping flow file. Make sure that at least the input or output is XML and contains an attribute (let's call it "name"). 2) Add a new field with the same name and set its type to "Element". You should get an attribute "name", with another attribute called "text()" as a child. Deleting the "name" attribute causes an XML element with the same name to appear.
Story points: 8