[xsde-users] Polymorphic type is serialized as based

Andrey Filimonov andrey.v.filimonov at gmail.com
Sat Nov 28 06:46:37 EST 2015


Hello,
I'm facing an issue trying to serialize a polymorphic type. It's serialized
as the base type.
XSDE is compiled with polymorphic support.

The serializer is instantiated this way:
oadrPayload_saggr oadrPayload_s;
oadrPayload_s.pre(*payload);
xml_schema::document_simpl doc_s (oadrPayload_s.root_serializer(),
oadrPayload_s.root_namespace(), oadrPayload_s.root_name(), true);
meaning it's constructed with polymorphic = true;

There is

The initial analysis


More information about the xsde-users mailing list