Hi,
I have the following field:
@XmlIDREF
@XmlElement(name = "OwnedItem")
private Set<OwnedItem> ownedItems;
and I'm expecting an element named "OwnedItem" with a type of xs:IDREF.
Instead, the IDREF annotation is ignored and I am left with a simple
element named OwnedItem.
The documentation says these two annotations are compatible. I can only
get it working the way I want if I omit the XmlElement annotation.
Any ideas?
Many thanks,
Mark Emeny.