Suggestion to JAXB users: verify your schemas using IBM Schema Quality
Checker tool (
http://www.alphaworks.ibm.com/tech/xmlsqc). It catches
subtle schema bugs (like UPA constraint violation) better than any other
tool that I tried.
Thanks,
Gia
> -----Original Message-----
> From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
> Sent: Friday, November 07, 2003 3:38 PM
> To: users_at_jaxb.dev.java.net
>
>
> > 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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net