[xsd-users] substitution groups in Windows

Boris Kolpackov boris at codesynthesis.com
Tue Feb 13 08:54:16 EST 2018


Benjamin DuPont <ben at nebland.com> writes:

> In Windows, the following is generated:
> 
> <p5:itemBase xmlns:p6="http://docs.oasis-open.org/ns/emix/2011/06/power"
> xmlns:p7="http://docs.oasis-open.org/ns/emix/2011/06/siscale"
> xsi:type="p6:EnergyRealType">
> 
> In Linux, the following is generated:
> 
> <p5:energyReal
> xmlns:p6="http://docs.oasis-open.org/ns/emix/2011/06/siscale">

It looks like the substitution group map in the generated code is
for some reason not linked into your Windows build (and so the
generated code falls back to xsi:type).

Can you check that all the generated source files are included
into your Windows build? Also, if you are using static libraries,
take a look at this post:

http://www.codesynthesis.com/pipermail/odb-users/2013-May/001289.html

Boris



More information about the xsd-users mailing list