W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2002

Re: Question about Final Attributes on Elements&In-Reply-To=<1861559007.20020104115946@jenitennison.com>&References=<1861559007.20020104115946@jenitennison.com>

From: Norman E. Carpenter II <theacademe@yahoo.com>
Date: Thu, 6 Jun 2002 16:32:07 -0400 (EDT)
Message-ID: <20020606203201.31360.qmail@web10507.mail.yahoo.com>
To: xmlschema-dev@w3.org




So if you did

<xs:element name="foo" type="xs:decimal" final="restriction" />

then

<xs:element name="bar" type="xs:integer" substitutionGroup="foo" />

would be invalid but if you did:

<xs:element name="foo" type="xs:string" final="restriction" />

then

<xs:element name="bar" type="xs:integer" substitutionGroup="foo" />

would be valid?



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
Received on Thursday, 6 June 2002 18:11:56 GMT

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