W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2002

Re: complexType derivation method

From: Ala Heno <alah@TTI-TELECOM.COM>
Date: Sun, 27 Jan 2002 14:42:18 -0500 (EST)
Message-ID: <8AABB7C1CB60BD4CB07A1976035C429D0247325D@exchange.tti-telecom.com>
To: xmlschema-dev@w3.org
>> b. can I extend a <choice> with another <choice>? and with a
>> <sequence > or with an <all> ?
> You can extend a choice with another choice or a sequence, but not an
> all for the same reasons as given above. Note that when you extend
> with a choice, the two choices are combined in a sequence (the choice
> from the base type followed by the choice from the derived type) and
> not in a choice (all the particles in one big choice).

I was wondering - does anyone knows what it the rationale behind this
constraint? Are there any ways to enable extending a complex type while
allowing inserting elements of the derived type at the beginning of the
content model?
Received on Tuesday, 29 January 2002 18:24:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:55 UTC