- From: Michael Kay <mhk@mhk.me.uk>
- Date: Wed, 28 Jan 2004 11:17:53 -0000
- To: <xmlschema-dev@w3.org>
The rules make it pretty clear that you can't have an xs:sequence or
xs:choice containing an xs:all, so the following is not allowed:
<xs:sequence>
<xs:element ref="a"/>
<xs:all>
<xs:element ref="b"/>
<xs:element ref="c"/>
</xs:all>
</xs:sequence>
Is there a rule that bans the equivalent:
<xs:sequence>
<xs:element ref="a"/>
<xs:group ref="g"/>
</xs:sequence>
<xs:group name="g">
<xs:all>
<xs:element ref="b"/>
<xs:element ref="c"/>
</xs:all>
</xs:group>
If there is, then I can't find it - which of course is no evidence at
all for its absence!
Similarly, is there a rule that prevents one appending an <xs:all> to
the content model of a complex type using derivation by extension?
Michael Kay
Received on Wednesday, 28 January 2004 06:17:36 UTC