W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2004

Derivation by restriction

From: Jack Lindsey <tuquenukem@hotmail.com>
Date: Thu, 08 Apr 2004 16:23:50 -0400
To: xmlschema-dev@w3.org
Message-ID: <BAY12-F102oeTrcXXT600035045@hotmail.com>

Would I be correct in concluding that when deriving a complex type by 
restriction, while it is possible to make an optional attribute mandatory in 
the subtype, it is not possible to make the presence of an element 
mandatory?

If so, why not?  If this does not offend the concept of inheritance 
overriding in the case of an attribute why has this facility not been 
implemented for elements?

Cheers Jack

_________________________________________________________________
Add photos to your e-mail with MSN Premium. Get 2 months FREE*  
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Received on Thursday, 8 April 2004 16:24:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:11 UTC