W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2001

Re: Is "final" attribute inherited?

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 20 Mar 2001 09:49:29 +0000
To: Kohsuke KAWAGUCHI <kohsuke.kawaguchi@eng.sun.com>
Cc: www-xml-schema-comments@w3.org
Message-ID: <f5bg0g8rcra.fsf@cogsci.ed.ac.uk>
Kohsuke KAWAGUCHI <kohsuke.kawaguchi@eng.sun.com> writes:

> Dear XML Schema WG members,
> 
> 
> Is "final" attribute(component) inherited to derived types? If so, how
> they are inherited?
> 
> For example, does "foo" in this example can be used to derive union type?
> 
> <simpleType name="foo">
>   <restriction>
>     <simpleType name="base" final="union">
>       <restriction base="string">
>         ....
>       </restriction>
>     </simpleType>
>     ....
>   </restriction>
> </simpleType>

Um, the above isn't valid -- internal types can't be named or have
'final'.  So I don't think your question arises.

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, 20 March 2001 04:49:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:49 GMT