[xsde-users] Re: Polymorphic type is serialized as based

Boris Kolpackov boris at codesynthesis.com
Mon Nov 30 09:47:22 EST 2015


Hi Andrey,

Andrey Filimonov <andrey.v.filimonov at gmail.com> writes:

> utf8 genxGetNamespacePrefix(genxNamespace ns)
> returns NULL as ns->declaration was set to NULL

This means you haven't established the namespace-prefix mapping for the
namespace that is used in xsi:type (XSD/e does not assign such prefixes
automatically):

doc_s.add_prefix ("ex", "http://www.example.com/example");

See Section 8.1, "Document Serializer" for details.

Boris



More information about the xsde-users mailing list