users@jaxb.java.net

Re: Multiple Schemas

From: TJB <thefox_at_mts.net>
Date: Fri, 9 Jan 2004 11:37:13 -0600

Thanks everyone for the clarity...

Cheers,

Thom


On Friday, January 9, 2004, at 11:22 AM, Kohsuke Kawaguchi wrote:

>
>> When I compiled the samples in JAXB 1.0 it seemed to me that multiple
>> runtime packages were created, one per schema. What I have in mind is
>> to have multiple schemas for a number of parts in the application, the
>> more the merrier. The thing not yet clear to me is why duplicate
>> runtime packages are generated and also how large the resulting code
>> might be when using multiple schemas?
>
> I added a new FAQ entry about this in http://jaxb.dev.java.net/faq/
>
>
>> Also if there are new tutorials that can shed light on how to generate
>> and re-generate schemas at anytime while not messing with code
>> implemented from the generated interfaces that would be helpful as
>> well.
>
> I'm not sure what you mean by "at anytime".
> Typically XJC is invoked only at the development time, and if you
> re-compile the same schemas again and again, you get the same code.
>
>
>> PS. By the way, how is the SVG schema compiling with JAXB now?
>
> There's a RELAX NG version of the SVG schema, and without a little
> customization (mostly to resolve name conflicts) it does compile.
>
> http://www3.sppd.ne.jp/lena/relax-ng/svg11/
>
> I'm not sure if there's an XML Schema version.
>
>
> 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