Found there is a flag for this. XMLIntrospector.setWrapCollectionsInElement(false).
~Rik On Tue, Aug 3, 2010 at 1:11 PM, Rik Scarborough <[email protected]> wrote: > If I have a bean that contains an array of another bean, when I write out > the XML, there is an additional element name added. > > > For instance. > > public class ObjectTypes { > private ObjectType[] object > .... > } > > The writer will output > > <ObjectTypes> > <Object> > <Object> > ..... > > > I don't seem to see a way to fix this. > > ~Rik >
