[xsd-users] For <xs:restriction base="xs:anyType"> generated code
does not compile.
Boris Kolpackov
boris at codesynthesis.com
Fri Nov 16 10:44:58 EST 2007
Hi Jeroen,
Sorry for replying so late.
Jeroen N. Witmond [Bahco] <jnw at xs4all.nl> writes:
> When I try to generate code for a Schema containing
> <xs:restriction base="xs:anyType">
> (my guess for the problem) it does not compile. The Schema file and
> Makefile attached demonstrate the problem.
You get this error because you use the --generate-xml-schema and
--extern-xml-schema options but do not compile the XmlSchema.hxx
header with --generate-ostream. This leads to a header file with
operator<<'s for built-in types not being included.
Boris
More information about the xsd-users
mailing list