Thanks,
I'd like to use jaxb 2.0, the problem is I am using
jaxb in conjunction with hyberjaxb2 to generate
hibernate mappings and hyberjaxb doesn't support jaxb
2.0 yet. Has fpml ever been marshalled successfully
with < 2.0 jaxb?
Thanks,
Hunter
--- Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
wrote:
> Hunter Stern wrote:
> > when unmarshalling following xml i get an
> Unexpected
> > element exception, all the details are below,
> thanks
> > in advance for your help. using jaxb 1.6 ri,
> jdk1.5
>
> We test FpML regularly against JAXB 2.0 and it works
> beautifully. Any
> chance you can upgrade to 2.0?
>
> In 1.0, you need to use a customization to enable
> the type substitution.
> Check type-substitution example in the
> distribution.
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems
> kohsuke.kawaguchi_at_sun.com
>