- From: Ravi Ravi <ravi_21a3@yahoo.com>
- Date: Tue, 5 Aug 2003 02:40:32 -0700 (PDT)
- To: xmlschema-dev@w3.org
Hi,
I'm trying to specify the rules a|b|ab in XMLSchema.
SCQ give an "Ambiguous content model" error stating
that the particles 'foo' from fooType and foobarType
overlap.
<choice>
<element name = "foo" type = "fooType"/>
<element name = "bar" type = "barType"/>
<group ref = "foobarType"/>
</choice>
<group name="foobarType">
<sequence>
<element name = "foo" type= "fooType"/>
<element name = "bar" type= "barType"/>
</sequence>
</group>
Any suggestions?
(For some reason my first post didn't go through.
Resending..).
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Received on Tuesday, 5 August 2003 05:44:01 UTC