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

Andrey Filimonov andrey.v.filimonov at gmail.com
Mon Nov 30 10:12:46 EST 2015


Hi Boris,
Do you mean it doesn't assign prefixes specifically when serializing
polymorphic types? Because for non polymorphic types it assigns perfectly.

Andrey.
30 нояб. 2015 г. 17:47 пользователь "Boris Kolpackov" <
boris at codesynthesis.com> написал:

> 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