users@jaxb.java.net

Re: binding complexType element defintions to Fields

From: Kohsuke Kawaguchi <kohsuke.kawaguchi_at_sun.com>
Date: Fri, 06 Jan 2006 11:32:07 -0800

Mark Hansen wrote:
> I assume this mapping to a Field would be specified with a binding
> language extension as described in Section 7.1.1 of the JAXB specification?

No, it's somewhat unlikely for the spec to talk about such bindings at
this point (given that it's "proposed final draft" already.)

It's just that nothing prevents from anyone to quickly hack our XJC to
generate any code he wants. Such compiler can't be certified as JAXB 2.0
schema compiler, but nonetheless it would be very useful. And the code
that such a compiler generates will run on any JAXB 2.0 runtime (as long
as you only use JAXB 2.0 annotations), so it's as portable as you can get.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com