Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - RE: emptiable content in particle inheritance [Thread Next] RE: emptiable content in particle inheritanceTo: "'G. Ken Holman'" <gkholman@----------------.--->, <xmlschema-dev@--.---> Date: 2/2/2009 9:25:00 PM > I think it is explicit. > > http://www.w3.org/TR/xmlschema-1/#declare-element states: > > "the corresponding schema components are as follows (unless > minOccurs=maxOccurs=0, in which case the item corresponds > to no component at all):" > Ah yes, thanks - I knew it had to be there somewhere! And I see that the same rule is present for other kinds of particle as well. One does wonder why maxOccurs="0" is allowed, if it has to be treated as an exception to the normal rules. I guess it's analogous to use="prohibited" on attributes, which also causes some odd anomalies. Michael Kay http://www.saxonica.com/ From tobias.koenig@t... Tue Feb 03 09:57:04 2009 Recei | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
