2009/5/10 Felipe Gaścho <fgaucho_at_gmail.com>:
> You also can use a xsd:choice element:
> http://www.w3schools.com/Schema/el_choice.asp
>
> and then to define what kind of types are supported by your choice..
> not so elegant, but it should serialize without problems..
I think the problem is not serialization -- since real type is always
available at that point -- but deserialization...
-+ Tatu +-