- From: Jeff Lowery <jlowery@scenicsoft.com>
- Date: Wed, 21 Nov 2001 11:21:11 -0800
- To: "'Jeni Tennison'" <jeni@jenitennison.com>, ht@cogsci.ed.ac.uk
- Cc: Gary Robertson <gazinyork@hotmail.com>, xmlschema-dev@w3.org
> <xs:all>
> <xs:element ref="B" />
> <xs:sequence>
> <xs:element ref="C" maxOccurs="5" />
> </xs:sequence>
> </xs:all>
>
> Or is the problem that the sequence in the above would be ignored
> as "pointless" according to the current rules?
Or is the problem that "sequence" is not the same as "contiguousness"?
What if I wanted to enforce the set {<A/><B/><C/>, <B/><C/><A/>,
</C></B><A/> <A/><C/><B/>}, but disallow <A/> occurences between <B/> and
<C/>?
It seems like I need a third content model group type:
<all>
<element name="A"/>
<contiguous>
<all>
<element name="B"/>
<element name="C"/>
</all>
</contiguous>
</all>
Later,
Jeff
Received on Wednesday, 21 November 2001 14:23:02 UTC