W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2001

Re: Inheritance

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 22 Oct 2001 16:05:43 +0100
To: Jeni Tennison <jeni@jenitennison.com>
Cc: "Tim Galle" <timgalle@cyberdude.com>, xmlschema-dev@w3.org
Message-ID: <f5b6697iuk8.fsf@cogsci.ed.ac.uk>
Jeni Tennison <jeni@jenitennison.com> writes:

> > This is OK. If you tried to restrict "final1" instead of "over1",
> > you'd get an error.
> 
> Would I be right in saying that this would still allow people to
> override the value constraint/required of the 'finalN' attributes
> - that it's only the type definition that couldn't be changed?

Yes.

> Presumably to fix the required and value constraint properties, you'd
> need to use the final attribute on the complex type definition itself?

Yes, but then you couldn't change over1... either.

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 Monday, 22 October 2001 11:04:59 GMT

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