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

Re: Question about final elements and element derivation.

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 07 Nov 2000 15:24:10 +0000
To: Eric van der Vlist <vdv@dyomedea.com>
Cc: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Message-ID: <f5blmuv24bp.fsf@cogsci.ed.ac.uk>
Eric van der Vlist <vdv@dyomedea.com> writes:

> 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) ?

This constrains substitution groups by constraining how the _type
definition_ of the elements in the substitution group may be derived.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
Received on Tuesday, 7 November 2000 10:25:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:18 GMT