users@jaxb.java.net

Re: Excluding <?xml... line from marshalled element

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Fri, 11 Jul 2003 13:23:12 -0700

Gary Gregory <ggregory_at_seagullsw.com> wrote:
> Easy question:
>
> When I see an error like:
>
> javax.xml.bind.UnmarshalException: Unexpected attribute {}:bindingBridge
>
> I take it the "{}" means that JAXB found that the element "bindingBridge"
> was in no namespace at all?

Yes.

> When perhaps it was supposed to be in one?

Not necessarily. It just means that JAXB RI doesn't know anything about
that attribute.



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