> 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/Received on Monday, 2 February 2009 21:25:39 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:10 GMT