users@jaxb.java.net

Re: any

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Thu, 12 Nov 2009 15:55:16 +0100

Hi,

> I wonder what JAXB is doing with xs:anyAttribute and xs:any? (red text).
>
> It is used for extensibility. May include one or more elements from any
> other namespaces.
>
> If JAXB handles extensible types, are there any examples some where?

Yes, these cases are supported. You'll get @XmlAnyElement,
@XmlAnyAttribute or other things depending on the schema.
Try compiling.

Bye.
/lexi