[xsde-users] Multiple restrictions
Boris Kolpackov
boris at codesynthesis.com
Thu Dec 5 01:52:15 EST 2013
Hi Pavel,
Pavel Fiala <pavel.fiala at cern.ch> writes:
> Should I change the command somehow to make it compilable or is it a
> bug/limitation in XSDe?
Yes, this is a limitation in XSD/e support for complex inheritance-by-
restriction cases. See this earlier reply to a similar problem for
details:
http://www.codesynthesis.com/pipermail/xsde-users/2011-July/000405.html
In your case the workaround would be to change the type of dataType
in myArrayType1_base from arrayDataType to basicDataType.
Also, if you have a large number of such case then you may want to
consider using XSD's C++/Tree mapping instead. It has much better
support for complex schemas.
Boris
More information about the xsde-users
mailing list