[xsd-users] [xsdtree] Inheritance elements order
Klaim - Joël Lamotte
mjklaim at gmail.com
Tue Jun 19 10:58:13 EDT 2012
On Tue, Jun 19, 2012 at 11:26 PM, Boris Kolpackov
<boris at codesynthesis.com>wrote:
> I don't think you can do anything about this in your current setup.
> You could get rid of the base and use element groups instead. Not very
> OO but will work. Another alternative would be to use substitution
> groups (i.e., in the base have a single abstract element which is
> extended as sprite, graphics, etc). One advantage of this approach
> is that you will be able to determine order of elements in C++/Tree.
> The disadvantage is that it will result in a schema that is a bit
> looser than what you want.
>
Actually I'm already using all you cite. It is ok on C++ side but not on
XML side.
Anyway I guess it can't be solved right now and it's not a major problem.
Thanks.
Joel Lamotte
More information about the xsd-users
mailing list