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: DTD and Illegal Construct



Jim Shain wrote -

> Honestly, I'm not playing stump the experts, but what about the instance?
>
> ((A, B, D?) | (A?, B, C?, D?, E))
>
> In this instance 'C' can only be present if 'E' is present.
>
> -Jim
>
But it's ambiguous, because if C is absent, the parser can't know whether E is
allowed or not.  Ambiguous content models aren't allowed in xml.

Cheers,

Tom P