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

RE: [XML Schema 1.1] Does mode="none" on a subtype nullify the openness of its parent type?

From: Costello, Roger L. <costello@mitre.org>
Date: Fri, 5 Jun 2009 11:29:00 -0400
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Message-ID: <9E51F88D5247B648908850C35A3BBB5003FD40C1A4@IMCMBX3.MITRE.ORG>
 
Thanks Michael. So, by putting mode="none" on a subtype it is only prohibiting extension elements from being inserted around the subtypes' elements; extension elements can still be inserted around the parent type's elements. Is that correct?


> -----Original Message-----
> From: Michael Kay [mailto:mike@saxonica.com] 
> Sent: Friday, June 05, 2009 11:16 AM
> To: Costello, Roger L.; xmlschema-dev@w3.org
> Subject: RE: [XML Schema 1.1] Does mode="none" on a subtype 
> nullify the openness of its parent type?
> 
> > Does mode="none" mean that extension elements cannot be 
> > inserted around the base type's elements as well as the 
> > subtype elements? That is, does mode="none" on a subtype 
> > nullify the openness of its parent type?
> 
> Of course not. How could it?
> 
> Regards,
> 
> Michael Kay
> http://www.saxonica.com/
> http://twitter.com/michaelhkay 
> 
> 
Received on Friday, 5 June 2009 15:29:32 GMT

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