W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2003

Re: More on xs:anySimpleType

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 26 Feb 2003 14:51:27 +0000
To: "Hugh Wallis" <hugh_wallis@hyperion.com>
Cc: <xmlschema-dev@w3.org>, "Dare Obasanjo" <dareo@microsoft.com>
Message-ID: <f5bfzqbp028.fsf@erasmus.inf.ed.ac.uk>

"Hugh Wallis" <hugh_wallis@hyperion.com> writes:

> Can I just confirm then that these errata, taken in conjunction with the
> ones that Dare pointed me to previously, will permit the following situation
> in the schema for which targetNamespace="myNamespace" for example:
> <element name="item" type="anySimpleType" abstract="true">
> <simpleType name="monetary">
>     <restriction base="decimal"/>
> </simpleType>
> <element name="cash" type="myNamespace:monetary" substitutionGroup="item">


> I figure this ought to be OK since we are deriving monetary from decimal and
> not from anySimpleType directly.


  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-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/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Wednesday, 26 February 2003 09:51:30 UTC

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