[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] Ambiguous Content Model
- From: Imran Rashid <irashid@students.uiuc.edu>
- To: mrossi@csc.com, xml-dev@lists.xml.org
- Date: Fri, 28 Sep 2001 12:51:39 -0500
At 1:14 PM -0400 9/28/01, mrossi@csc.com wrote:
>Can anyone tell me if there's an unambiguous (deterministic) content model
>equivalent to the following:
>
> <!ELEMENT test (A | (A?, (B, C)+))>
>
>? And of course, by equivalent I mean maintaining all the semantic
>constrains and flexibility of the original.
if I understand this correctly, it is
an A followed by 0-inf (B,C) pairs
or
1- inf (B,C) pairs
how about
<!ELEMENT test ( (A , (B,C)* ) | (B,C)+ )>
??
hope this helps,
Imran
--