File c.xsd defines types car-type and content-type. This produces code in c.h:
class car-type;
class content-type;
which fails to compile:
make[4]: Entering directory `/tmp/xmlbeansxx/examples/small'
...
In file included from create.cpp:1:0:
c.h:12:10: error: expected unqualified-id before ‘-’ token
c.h:14:14: error: expected unqualified-id before ‘-’ token
because - is not a valid character in C/C++ identifier.