W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2003

defining rules for a or b or ab

From: Ravi Ravi <ravi_21a3@yahoo.com>
Date: Tue, 5 Aug 2003 02:40:32 -0700 (PDT)
Message-ID: <20030805094032.6360.qmail@web41610.mail.yahoo.com>
To: xmlschema-dev@w3.org

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

  <element name = "foo" type = "fooType"/>
  <element name = "bar" type = "barType"/>
  <group ref = "foobarType"/>

<group name="foobarType">
    <element name = "foo" type= "fooType"/>
    <element name = "bar" type= "barType"/>

Any suggestions?

(For some reason my first post didn't go through.

Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
Received on Tuesday, 5 August 2003 05:44:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:12 UTC