W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2002

Re: Ambiguous content models -- allowed or disallowed by XSDL?

From: Jeni Tennison <jeni@jenitennison.com>
Date: Wed, 12 Jun 2002 17:01:02 +0100
Message-ID: <1142077299648.20020612170102@jenitennison.com>
To: xmlschema-dev@w3.org, "Morris Matsa" <mmatsa@us.ibm.com>
CC: Ian Stokes-Rees <ijs@decisionsoft.com>

Hi Morris,

>> I believe it does explicitly disallow ACMs, and would appreciate
>> some clarification from those who are better versed on the subject.
>
> My understanding of the rec: Ambiguous content models are allowed.
> What is required is that by looking at the next tag's name I must
> already be able to unambiguously attribute it to a given unique
> particle in the schema. This disallows most ambiguous content models
> but allows some of them. The rec includes a constraint for this [1],
> and a non-normative explanation. [2]
>
> [1] http://www.w3.org/TR/xmlschema-1/#cos-nonambig
> [2] http://www.w3.org/TR/xmlschema-1/#non-ambig

Can you give an example of an ambiguous content model that *is*
allowed, according to [1]?

Thanks,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/
Received on Wednesday, 12 June 2002 12:01:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:31 GMT