Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - RE: [XML Schema 1.1] Does mode="none" on a subtype nullify the [Thread Next] RE: [XML Schema 1.1] Does mode="none" on a subtype nullify theTo: "'Costello, Roger L.'" <costello@-----.--->, <xmlschema-dev@--.---> Date: 6/5/2009 6:03:00 PM > > if the base type allows open content, then a type derived > from it by > > extension must also allow open content. > > Now I'm really confused. > > What value is mode="none"? > > I thought that the point of mode="none" was to enable a > subtype to "turn off" the openness of its parent type? If > this is not the case, then what value is mode="none"? You can turn off the open content when deriving by restriction, but not when deriving by extension. Makes sense really - restriction can only reduce the permitted content, extension can only increase it. Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
