Re: What is this simpleType's "base" type?

On 18/06/2011 11:28, Costello, Roger L. wrote:
> Thanks again Mukul and Michael.
>
> There must be an appropriate name for "Named simpleType A depends on named simpleType B"
>
> That is, ignoring the details of A, at a macro level simpleType A directly depends on another named simpleType called B. It is useful to identity the sequence of dependent named simpleTypes.
>

XSD 1.0 uses the term "derived from":

http://www.w3.org/TR/xmlschema-2/#dt-derived

to express the union of three relationships: derived-by-restriction, 
derived-by-list, and derived-by-union. Perhaps that's what you are 
looking for? Unfortunately this usage has caused some confusion because 
there are places where the spec uses "derived from" and clearly intends 
"derived by restriction from". In XSD 1.1 therefore the usage has been 
changed so that "derived" means "derived by restriction": so saying "A 
is derived from B" is the same as saying "B is the base type of A", and 
the new term "constructed from" is used for the more general relationship.

Michael Kay
Saxonica

Received on Sunday, 19 June 2011 22:14:33 UTC