Looking at the schema, it only seems to allow text, no element. So I'm
not sure if you are allowed to put "child concrete element" there.
Or am I missing something? Is this type derived by some other types? If
so, can I see that as well?
> <xsd:complexType name="base" abstract="true"
> mixed="true">
> <xsd:attribute name="att1" type="t_2" use="optional"/>
> <xsd:attribute name="att2" type="t_1" use="optional"/>
> </xsd:complexType>
>
> When I use xjc, I get an implementation class called
> with a serializeBody method that only uses
> context.text(). This causes an error when I try and
> add a child concrete element, but it is happy if I add
> text.
>
> Am I using it incorrectly or is this not supported.
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