Use name from @Root
Brought to you by:
niallg
If the @Element does not have a specified name the name of the parameter is used. I suggest that it should first be checked to see if the class of the parameter has a @Root tag with the name specified and if so then use that name. This could possibly be controlled using some flag.