users@jaxb.java.net

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

From: Ganga Sah <ganga_sah_at_yahoo.com>
Date: Fri, 7 Nov 2003 15:34:02 -0800 (PST)

Thanks a lot, Kohsuke.
Adding namespace="##other" as suggested by you works.
No other values of this namespace seems to work.
So it looks JAXB restricts to do getany() of elements
only from other(than targetNamespace) namespace!!

thx
ganga
--- Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
wrote:
>
> It's saying your schema is ambiguous and thus
> invalid. This has nothing
> to do with customization. Perhaps your intention is:
>
> <xsd:any maxOccurs="unbounded"
> processContents="skip"
> namespace="##other">
> ~~~~~~~~~~~~~~~~~~~
> ?
>
> 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
>


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net