users@jaxb.java.net

Re: Unexpected element when unmarshalling abstract type

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 15 Mar 2006 13:03:39 -0800

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