users@jaxb.java.net

Re: Error in Mapping xs:any to DOM(using xjc:dom)?

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Fri, 07 Nov 2003 15:38:14 -0800

> So it looks JAXB restricts to do getany() of elements
> only from other(than targetNamespace) namespace!!

No. As the error message says, the error is in your schema. It's
violating the UPA constraint, which is defined in XML Schema spec.

JAXB has nothing to do with the problem you are seeing. You first have
to make your schema "correct" with respect to XML Schema spec.

regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net