W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2011

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

From: Michael Kay <mike@saxonica.com>
Date: Sun, 19 Jun 2011 23:14:10 +0100
Message-ID: <4DFE74B2.2010802@saxonica.com>
To: xmlschema-dev@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 19 June 2011 22:14:35 GMT