[xsd-users] polymorphism across dlls broken

Eric Niebler eric at boostpro.com
Thu Sep 18 18:25:55 EDT 2008


Boris Kolpackov wrote:
> Eric Niebler <eric at boostpro.com> writes:
>> The solution, it seems, would be to move the definition of the 
>> type_serializer_map object into a separate dll, so that all dlls
>> can share the instance. 
> 
> In the upcoming 3.2.0 release (should be out in a few weeks) we have
> implemented support for exactly this. You can try it out in the beta:
> 
> http://www.codesynthesis.com/pipermail/xsd-announcements/2008/000029.html
> 
> Once you get the archive, look for the --export-maps and --import-maps
> options in documentation/xsd.xhtml. 
> 
> In a nutshell, you will need to compile schemas that go to your "root"
> DLL with the --export-maps. And schemas for all other DLLs and the
> executable with --import-maps.

Excellent, thanks for the quick response Boris. I've found a hackish 
work-around for 3.1 for the present and will upgrade to 3.2 when it 
comes out.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com




More information about the xsd-users mailing list