DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3621>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3621 cannot refer to model group that contains xsd:all model [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2001-09-19 14:20 ------- This is actually an invalid schema. According to 3.8.6 of the XML Schema: Structures Recommendation [1]: Schema Component Constraint: All Group Limited When a model group has {compositor} "all" all of the following must be true: 1 one of the following must be true: 1.1 It appears as the model group of a model group definition. 1.2 It appears in a particle with {min occurs}={max occurs}=1, and that particle must be part of a pair which constitutes the {content type} of a complex type definition. 2 The {max occurs} of all the particles in the {particles} of the group must be 0 or 1. The important point here is 1.2. To paraphrase, it says that a model group (like "grp" in the example) that is defined using an "all" compositor can only be referenced in a place in which it would be the content type of a complex type definition. So "grp" can't be referenced inside a sequence, for example. [1] http://www.w3.org/TR/xmlschema-1/#cos-all-limited --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
