[xsd-users] abstract type and its c++ equivalent

Boris Kolpackov boris at codesynthesis.com
Wed Apr 24 09:30:58 EDT 2013


Hi Georg,

Klima Georg <G.Klima at durst-online.at> writes:

> XAlignDescriptorSimpleFrameSample.xml
> terminate called after throwing an instance of 'xsd::cxx::tree::no_type_info<char>'
>   what():  no type information available for a type

This means that there is no C++ type corresponding to the XML Schema
type specified with the xsi:type attribute or used in a substitution
group. Can you make sure that you have compiled all your polymorphic
types as such (--polymorphic-type-all should take care of this) and
also that you actually compile and link all the generated .cxx files
into your application. One common situation where this might not
happen is if you package the generated code into a static (.a)
library.

Boris



More information about the xsd-users mailing list