OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] Ambiguous Content Model

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


1- inf (B,C) pairs

how about

<!ELEMENT test ( (A , (B,C)* ) | (B,C)+ )>


hope this helps,