Re: More on xs:anySimpleType

"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">

Yes.

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

Yes.

ht
-- 
  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