Re: Inheritance

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 UTC