W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2000

Question about final elements and element derivation.

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Tue, 07 Nov 2000 15:01:55 +0100
Message-ID: <3A080B53.2B7C6457@dyomedea.com>
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
I must be missing something obvious here :( but xsd:element accepts [1]
a final attribute:

> final = (#all | List of (extension | restriction)) 

while I don't see how one can derive an element other than through a
substitution group.

So, my question is:

How can we derive an element by extension or restriction (since
xsd:extension and xsd:restriction aren't allowed directly below
xsd:element) ?


Eric (confused).

[1] http://www.w3.org/TR/2000/CR-xmlschema-1-20001024/#element-element
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.com
Received on Tuesday, 7 November 2000 09:01:25 UTC

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