users@jaxb.java.net

jaxb abstract mixed serializeBody problem

From: Neville Peter <p_nevilleuk_at_yahoo.co.uk>
Date: Tue, 20 Jul 2004 13:51:02 +0100 (BST)

Hi,
I'm new to jaxb and have a problem wwth v1.0.3. I
have a schema that uses a complex type that is mixed
and abstract. For example:

<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.

Any ideas greatly appreciated.

Thanks,
Peter


        
        
                
___________________________________________________________ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net