users@jaxb.java.net

Re: JAXB conversion of wildcard to DOM (<xjc:dom />) stripping ou t namespace attributes

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 23 Jul 2003 15:39:47 -0700

"Geis, Matt" <Matt.Geis_at_schwab.com> wrote:
> By *re*-moving, I was making a joking reference to the **removal** of
> namespace attributes.

Aaa. Sorry to be dumb.

> I tried what you suggested, passing a SAXSource to the unmarshaller, and got
> the following error (even after setting the namespace-prefixes property to
> true.
>
> DefaultValidationEventHandler: [ERROR]: unexpected attribute "xmlns"
>
> So in short, that test failed.

If you could go one step further and turn off unmarshal-time validation?

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