users@jaxb.java.net

Re: unmarshaling to extender MyClass

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 15 Jul 2003 11:10:57 -0700

Chase Barrett <chase.c.barrett_at_LMCO.COM> wrote:
> Is there a way to accomplish this sort of functionality in the current
> release? How about a future enhancement? I can do what I need to do by
> individually transferring field values back and forth between the
> business object and the schema-derived object after each unmarshall and
> prior to each marshall, but it seems like such a waste.

The accessor methods are sensitive to the default values and it
interferes with the unmarshalling, so that's why it's done this way.

We recognize that as a problem, so hopefully we will be able to do
something, but don't expect a short term solution on this one ...

Sorry about the inconvenience.

regards,
--
Kohsuke Kawaguchi                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com