users@jaxb.java.net

Marshalling pb with abstract complex types

From: PHDB _ <phdb2000_at_hotmail.com>
Date: Fri, 19 Mar 2004 16:58:59 +0000

I used JAXB in extension mode in order to accept abstract complex types.

I will take an example to be clear.
A_type is abstract, and B_type and C_type are derived from A_type.

However when marshalling a B_type data in a A_type element, I don't get the
attribute xsi:type="B_type" which is required to be valid regarding the
schema.

Am I wrong somewhere when marshalling (option to set ?), or is it a bug ?

Thks in advance

_________________________________________________________________
MSN Messenger http://g.msn.fr/FR1001/866 : dialoguez en son et en images
avec vos amis


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