The thing which confused
me for the moment is,
that XSD explicitly uses the derivation
terms "restriction" and "extension", whereas java only
has the terminology ".. extends .." to create type derivations
(which applies both to restricting and extending/additive behavior).
So I agree with you, that the current
design proposed by Jesper may be right.
Sorry for the confusion.
David Carver <d_a_carver@xxxxxxxxx>
17/05/2011 08:05 PM
comments about new API design in psychopath engine
Actually, you are refering to the "Derived"
Data Types. The most basic form of a TypeDefinition is "anySimpleType"
which is what all Primitive Types use as their base. So
technically it should go. TypeDefinition->anySimpleType->Primitive
TypeDefinition->User Derived Types (simple or complex types or extension