[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-user
Subject:    RE: Equivalent of <jaxb:globalBindings localScoping="toplevel">
From:       "Radu Preotiuc-Pietro" <radup () bea ! com>
Date:       2008-04-25 22:39:42
Message-ID: BF6B6CA032BA0A429BD924F96765147DBF3012 () repbex02 ! amer ! bea ! com
[Download RAW message or body]

No, it doesn't. Even if it did, "-allowmdef" won't help you anyway
because it works at the Schema component level and not at the generated
Java class level. Commenting on both of your posts, what you want is to
treat two different anonymous types as being the same; it's not obvious
that this is a good idea often enough that XMLBeans has support for it.
However, see my previous post on the possible use of extension
interfaces to "simulate" this by having both types implement a common
interface.

Radu

> -----Original Message-----
> From: Menno Jansz [mailto:menno@jansz.com] 
> Sent: Friday, April 11, 2008 9:17 AM
> To: user@xmlbeans.apache.org
> Subject: Equivalent of <jaxb:globalBindings localScoping="toplevel">
> 
> 
> Hi,
> 
> Does anyone know if XMLBeans has an equivalent setting to the JAXB:
> 
> <jaxb:globalBindings localScoping="toplevel">
> 
> This causes JAXB to generate all classes at the toplevel 
> rather than as inner classes. I was hoping to use this same 
> mechanism in XMLBeans, in conjuction with -allowmdef to work 
> around the problem I posted about earlier today.
> 
> Unfortunately I cant find JAXB equivalent to -allowmdef, so 
> at the moment I havent got a solution yet.
> 
> Cheers,
> Menno
> --
> www.jansz.com
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: user-help@xmlbeans.apache.org
> 
> 

Notice:  This email message, together with any attachments, may contain information  \
of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be \
confidential,  proprietary,  copyrighted  and/or legally privileged, and is intended \
solely for the use of the individual or entity named in this message. If you are not \
the intended recipient, and have received this message in error, please immediately \
return this by email and then delete it.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic