users@jersey.java.net

Re: JAXB question regarding xsi: attributes

From: ljnelson <ljnelson_at_gmail.com>
Date: Mon, 19 Apr 2010 02:58:46 -0800 (PST)

On Mon, Apr 19, 2010 at 5:38 AM, Paul Sandoz [via Jersey]
<ml-node+4924298-1246645659-210534_at_n2.nabble.com> wrote:
> JAXB is deriving the XML element name, "record", from the @XmlElement
> on the RestDataSourceResponse.data. Perhaps remove the aforementioned
> @XmlElement and annotate Gorp with @XmlElement?

@XmlAnyElement turns out to be the way to go here; it's the only
solution that doesn't get xsi:type involved.

Thanks,
Laird

-- 
View this message in context: http://n2.nabble.com/JAXB-question-regarding-xsi-attributes-tp4910019p4924578.html
Sent from the Jersey mailing list archive at Nabble.com.