|[eclipselink-users] xsi:tpye duplicates elemnt name|
I’m have a problem, that the XML contains the same name on both the element name as well in the xsi:type like
<PartVersion uid="prtvrs--6" xsi:type="bom:PartVersion">
I want them only in case of subtyping like
<ShapeDependentProperty uid="gsdp--9" xsi:type="bom:GeneralShapeDependentProperty">
The annotation used on all classes looks like this:
The annotation on the attribute containing the PartVersions looks like
@XmlElement(name = "PartVersion")
Where SetOfPartVersionNonEmpty is just an extension of a Set without further annotations.
There is no package info, the marshaller is created like this
Marshaller marshaller = ctx.createMarshaller();
Does anyone have an idea, of how to get rid of these superflous xsi:types ?
Thank you, Carsten
Back to the top