users@jaxb.java.net

Re: typeSubstitution question

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 16 Jun 2004 17:01:09 -0700

> I used JAXB in extension mode in order to accept abstract complex types and
> turned on the type substitution support extension.
> As a result I had elements decorated with the appropriate value of xsi:type.
>
> However I also got xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" on
> each decorated element.
> As I already have xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" in
> my root element it is not necessary to repeat it in each element and I'd
> like to remove it, is it possible ?

Can you show us the actual instance the JAXB RI has produced, and how
you are driving the JAXB API?


regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net